5
\$\begingroup\$

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?

\$\endgroup\$
3
  • \$\begingroup\$ What language and/or libraries are you using? \$\endgroup\$
    – thedaian
    Commented Sep 27, 2011 at 2:10
  • \$\begingroup\$ 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. \$\endgroup\$ Commented Sep 27, 2011 at 3:35
  • \$\begingroup\$ tiny file dialogs on sourceforge is a single C C++ cross-platform file offering many modal dialogs. It has no init, no main loop, no linking and no include. \$\endgroup\$
    – rolobo
    Commented Sep 17, 2017 at 15:16

4 Answers 4

4
\$\begingroup\$

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.

\$\endgroup\$
2
\$\begingroup\$

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.

\$\endgroup\$
0
\$\begingroup\$

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

\$\endgroup\$
0
\$\begingroup\$

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

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .