I found this cool open gl for building guis:
http://glgui.sourceforge.net/
It loads interfaces from from a xml file whose schema can be found here:
http://glgui.sourceforge.net/filedocs/index.html
Wouldn't it be cool if we could edit a xml file and create a gui interface for irrlicht the same way ?