Commit Graph

14 Commits

Author SHA1 Message Date
oliverschmidt
89f6235c13 Using wherex() to determine the length of the string printed with cputsn() fails if the right edge of the screen was reached as wherex() then returns 0.
Therefore we rather count the chars actually printed in cputsn() and return that value thus avoiding usage of wherex() in those scenarios altogether.
2010-07-20 22:19:23 +00:00
oliverschmidt
c284092a53 - Set cursor in ctk_draw_init() to top left corner as it is called for re-initialization on Contiki exit. 2010-02-07 21:43:03 +00:00
oliverschmidt
1d1f3a23af - No need for textcolor() before cclear().
- Set textcolor() in ctk_draw_init() to some reasonable value as it is called for re-initialization on Contiki exit.
2010-02-07 21:38:01 +00:00
oliverschmidt
878f56837d Did more aggressive fullscreen ctk codesize optimization. Now ctk draw implementations need adjustment as the struct window member x and y are gone. Another potential optimization would be to remove clipping... 2007-12-20 20:45:06 +00:00
oliverschmidt
4b11df81ba Mustn't include libconio header as this is just one possible implementation of the conio API (and further code exlusion for fullscreen ctk). 2007-12-16 13:00:51 +00:00
oliverschmidt
dca1f5cc19 Exclude unnecessary code in ctk fullscreen mode. 2007-12-15 22:18:13 +00:00
oliverschmidt
9c9e336f45 Some source reformatting. 2007-12-15 21:04:20 +00:00
oliverschmidt
4671ee3d10 Have ctk (at least on conio) work correctly without menus. 2007-12-15 20:46:15 +00:00
oliverschmidt
7669fd8724 Enhanced CTK_CONF_MENUS support. 2007-11-30 21:50:09 +00:00
oliverschmidt
536f20efba Removed compiler warnings. 2007-11-18 01:49:48 +00:00
matsutsuka
7dec361a80 #include <conio.h>
doesn't work on z80 version, because this is not a standard library.
2007-09-19 12:50:23 +00:00
oliverschmidt
13cdcbe393 - Removed ctk_arch_isprint() definition as it is - nomen est omen - platform specific.
- Avoided compiler warnings.
- Rearranged headers.
2007-04-15 13:14:40 +00:00
oliverschmidt
fba087810d Don't make assumptions on textentry contents beyond the first '\0'. 2006-08-30 22:24:12 +00:00
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00