One Sprite Widgets

One-sprite widgets are a series of behaviours and a related castlib for creating and using various 'widgets' (controls) - such as buttons, dropdown menu, treeview etc. There's no documentation or tutorials yet (sorry) but feel free to experiment with the source code.

View Demo (opens window) 

The One-sprite widgets (OSW) are implemented as behaviours deigned to work as one widget per sprite. The OpenWidgetLib (OWL) is a more abstract implementation that features Windows, Containers and Layout Managers.It is more complicated to use, but more flexible (you can use many widgets on a single sprite, or no sprites at all) . Both libraries have many similarities (and share the same factories for generating images), and can be combined in the same project.

First published 09/06/2005