Hi Everybody!

I've just got most of the bugs worked out of PicoGUI's new 'hotspots' system, which 
allows easy movement through PicoGUI using the keyboard. The traditional tab and 
shift-tab keys work for moving between widgets, but it also has 2-dimensional movement 
using the arrow keys. The spacebar will activate the hilighted button. It works great 
for menus too. (the menuitems are just customized buttons)

This system gathers its data from the divtree. Divnodes with the DIVNODE_HOTSPOT flag 
can be selected with this method. When a hotspot is selected, its owner widget is 
focused so it is free to handle activation (like with the spacebar) by itself. This 
method requires no extra effort from the application programmer, and it takes the 
whole screen into account, not just one application.

As always, let me know if you have any problems with this.

--
To the systems programmer, users and applications serve only to provide a 
test load.


_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to