Possible Duplicate:
What C++ GUI library can you suggest?
I am creating a simple 2 dimensional GUI for an RPG game. It will be pretty simple and will contain a few windows a chat box. Does anyone have any suggestions for UI code to use?
Possible Duplicate:
What C++ GUI library can you suggest?
I am creating a simple 2 dimensional GUI for an RPG game. It will be pretty simple and will contain a few windows a chat box. Does anyone have any suggestions for UI code to use?
For really, really, really simple GUIs, I recommend rolling your own IMGUI library. If all you need are buttons and sliders, it's dead simple. If you need anything more, I recommend looking at some other GUI libraries, though.
I have had a positive experience with Guichan. It has an SDL back-end (as well as others) and a good set of basic widgets.
Some highlights:
Widgets are easy to extend, which makes it great if you're building a simple RPG GUI. I was able to extend widgets for my game such that new ones could be created entirely by the scripting language -- it was great!
It is not multi-threaded, which could be seen as a positive and a negative. It's up to the implementer to decide when (and in which thread) things are rendered.
It allows components to communicate through the use of an Event system.
If you haven't already, check it out. I have used it in the past and plan on using it for my next project.
The Ogre3D team recommends both Crazy Eddie's GUI System and MyGui, so they might be worth checking out.