Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by bummzack, Joe Wreschnig, Josh Petrie, Tetrad Sep 27 '11 at 16:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
What language and/or libraries are you using? –  thedaian Sep 27 '11 at 2:10
    
I am coding in C++ and am looking for something crass platform if possible. I am also using SDL so if there is something there that allows me to create a nice GUI, let me know. –  Satchmo Brown Sep 27 '11 at 3:35

4 Answers 4

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.

share|improve this answer

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.

share|improve this answer

The Ogre3D team recommends both Crazy Eddie's GUI System and MyGui, so they might be worth checking out.

share|improve this answer

There are Flash based GUI systems too. There's the open-source projects GameSWF and Hikari for . There are commercial products too - Scaleform

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.