This is a very early demo of a windowing system. The aim of the project is to create a simple windowing system that other programmers can use for their applications, which should decrease the tedious amount of GUI code that people have to write.

Changes:

– Fixed width/height inaccuracies (I wasn’t quite converting from (x1,y1) (x2,y2) to (x,y) (width,height) properly)
– Tidied up border drawing again (related to the width/height thing)
– Added intelligent gadget erasing
– Screen/window borders are now gadgets (so they automatically get redrawn as necessary when they become visible)
– Almost all gadgets now have a draw function that clips to a supplied rectangle’s dimensions
– Swapped the dull black rectangle in the SuperBitmap demo for a picture of many Marios (shows off the concept a bit better)
– The Pong demo now uses the SuperBitmap class as its canvas

http://ant.simianzombie.com/files/binaries/demos/nds/woopsi017.zip