> 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?
See Matt's detailed reply, but along with that, I *very strongly* suggest you spend some time playing around with fltk on your desktop system, get a proper feel for how the widgets behave and experiment with the handle() methods and how the events are propagated. It is a lot easier to do these tests on the desktop system, and so much easier to debug and to understand where things are going awry. Then, once you have that and can make a demo prototype of the GUI you plan to put on your embedded target, it will be much easier to create the code for the real system, and the design you cerate at that stage will be more robust and correct as it will benefit from the experience gained whilst doing the desktop testing. SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

