Not using a timeout will alraedy reduce lag. For everything else you need to 
send some code that i can compile, and where i can see what's using up the time.



kaixuan306 <csu.gao...@gmail.com> schrieb:

>> hello,everyone.
>>     Now I am using fltk 1.3.0 and nano-x,nxlib to develop program to
>work on ep9315 arm linux system. I have solve the problem about the
>font. Now I commit a new difficulty:
>> (1): there are many keys(array) on my ep9315 board, now I detect the
>key push by query in add_timeout's callback funtion. I fint that in
>fltk there are key event, my problem is how to use the key event to
>detect the key push. my key's ascall code is the same as PC.
>> (2):when I push one key such as "1", I want to display some widgets,
>when push another key such as "2", to display another group of widgets,
>> now I build some groups of widgets by Fl_Group, such as group1 and
>group2, push key"1", to display group1 and push key"2", to display
>group2.But it seems that the LCD screen of EP9315 update is a little
>slow. Is there any good idea to realize this?
>Thank you very much for reply,I will have a try. But for the second
>question, some suggestion?
>_______________________________________________
>fltk mailing list
>fltk@easysw.com
>http://lists.easysw.com/mailman/listinfo/fltk
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to