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?
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.Sign up to join this community
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.
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.