librocket is a Game GUI engine that used to be commercial. Recently it has been open sourced as MIT. It uses a subset of html and css for all the rendering. The GUI input elements are html form elements. Since I like this much better than CEGUI I’ve integrated it for C++ by implementing a native librocket renderer interface. Initialization is simply like this (as per drwr’s idea):
PT(RocketNode) rocket_node = new RocketNode("rocket"); window->get_pixel_2d().attach_new_node(rocket_node);
Then you can get the librocket context from rocket_node->get_context() and use that to interact with librocket.
This is the librocket hello world window in Panda:
I’ll commit this shortly to the Panda 2.0 branch (C++ only), I’m creating this thread for questions in case anybody is interested in publishing it to python (treeform?) which is really easy at this point (just write a bunch of wrappers), but I don’t use python so I cba.