F-UI - 3D UI Lib Demo

Miscellaneous Forums/Blitz Showcase/F-UI - 3D UI Lib Demo

Will this GUI lib use separate calls for the user input checking and GUI gadget drawing routines?

The reason that I ask is that I've implemented a basic event system in a Blitz3D application that I'm working on, to keep the idle time CPU usage to a minimum.

Basically it uses a 'do_update' global variable as a flag. If any user input is detected or any other processes are performed which require that the display be updated then the 'do_update' variable is set to true. If 'do_update' is set to true then RenderWorld, 2D drawing operations, etc, are performed, and the 'do_update' variable is then set back to false. Otherwise, a Delay( 20 ) is executed in place of the update routines.

Using this method, my app shows up in Task Manager as using 0% of the CPU (under 0.5%) when idle. As I said though, the input routine needs to be separate from the graphics update routine for this event system to be implemented. It would also be very useful if the GUI's input routine returned a global flag indicating if an update was required, and if the GUI's update routine cleared this flag.