Home / Experiments / UI Frame Work – More Button Pushing

UI Frame Work – More Button Pushing

Today I’ve been quite busy programming a more generic framework for using buttons, strings and multiple windows on the NXT.  Things like button pressing is now handled centrally, as well as rendering the windows and the buttons in their current state.  It’s starting to take shape now and it’s not looking too badly.


The buttons respond to presses anywhere inside their bounding box, you don’t need to define the “sensitive” areas, the framework handles that for you.  Debouncing the buttons works quite nicely, as well.

I shot a quick video of what it looks like now.  I could use really use a polarizing filter to get rid of the glare from the stupid NXT screen, oh well.

About Xander

Xander Soldaat is a Software Engineer and former Infrastructure Architect. He loves building and programming robots. He recently had the opportunity to turn his robotics hobby into his profession and has started working for Robomatter, the makers of ROBOTC and Robot Virtual Words.