On Thursday 10 April 2003 10:53, Adam Dunkels wrote:
> On Wed, 2003-04-09 at 21:48, Groepaz wrote:
> > > Ok... that might sound a bit complicated, but hopefully it will become
> > > clearer when actually trying it out. As always, comments are welcome!
> >
> > not that it would be related..but... is that text-widget we talked about
> > implemented yet? :O)
>
> No, it is still on my todo-list :-) But, in the meantime, it is possible
> to get *almost* the same functionality by using a regular CTK_LABEL. The
> only difference is that it isn't possible to receive cursor key presses,
> return/enter key presses, the menu key (usually F1), or the window
> switching key (usually F3). The interface is the same as it will be once
> the CTK_TEXTMAP widget is implemented.
>
> To use this, listen to the ctk_signal_keypress signal - it is emitted
> for every keypress the programs' windows receive, and is what will be
> used for the CTK_TEXTMAP widget as well.
>
> An example of this is the brand new calc.c, which just has been entered
> in contiki/apps/calc.c.
well...i am mostly waiting for the "real" console-style output feature....ie
scrolling and everything that goes with it (i wanted to implement sth like a
command-shell, remember?) .... if i would implement all this "for testing"
and use the label-widget, i had almost duplicated the work of implementing
that text-widget :) and since you know the contiki interna better than me, i
rather wait for you to do it so i dont waste time on coding sth redundant :)
gpz
|