CustomUI 0.6 released
As the headline already indicates I managed to finish the newest release of CustomUI for Irrlicht applications.
A few new features were spent to CustomUI in this release. The major features is the support of free-form polygon buttons. Now you, as a designer, have no restrictions on how to design the shape of your buttons. The button shape is defined by a vertex list which spans a polygon. I guess that is a function which makes CustomUI superior to several other existing enhanced Irrlicht GUIs out there.
I guess a code snippet says more than a thousand words. This also gives me the opportunity to introduce my new plugin for Wordpress wp-syntax
array vertices; vertices.push_back(position2di(0,0)); vertices.push_back(position2di(100,20)); vertices.push_back(position2di(50,210)); vertices.push_back(position2di(20,200)); cInterface->addButton(stringw("btn_quit"), new CIC_Polygon(position2di(0,0), vertices, position2di(20,20)), 0);
Furthermore CustomUI 0.6 got a new hierarchy system which allows you to design your GUI in within a tree structure. I now that this feature was overdue but it finally found its way to the source. The remaining additions and bug-fixes which were not explicit mentioned can be taken from the changelog at the end of this post.
Changelog v0.6 (added) new collision: 'CIC_Polygon' (added) function 'lock' to exclude an element from 'changeSection()' (added) hierarchy system for GUI-elements (added) modal-flag for CEMessageBox (fixed) clicking through a messagebox (fixed) enabled-state of object affectless (fixed) need of placeholder in CEAnimatedImage