🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

sdl GUIs

Started by
3 comments, last by TANSTAAFL 19 years, 11 months ago
i had this epiphany at around midnight last night about this *really cool* project/game i could do (in c++). <edit : deleted unnecessary details> now there seems to be no intuitive (easy - like ftlk) way to create (in an sdl environment) GUI items such as new sdl windows or menus / progress bars / ect. i could probably *make* them (hack them together) myself, but to be honest, i don't really want to take the time right now. i found these libraries / extensions (a list which seemed rather sparse) and i'd like people's advice on them, which they'd recommend, ect.; or if there are any other applicable suggestions than these : <html>http://www.paragui.org/</html> - ParaGUI <html>http://www.newimage.com/~rhk/SDL_gui/</html> - SDLGUI, didn't seem to have as much as ParaGUI . . . . thanks [Edited by - sicilianfire on July 12, 2004 12:23:56 AM]
Advertisement
build your own, you may learn something.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
I hate to say it but PnP is right on this... I took a look at all 3 or 4 of the GUI projects listed on libsdl.org and found them all to be lacking..

If I recall ParaGUI looked the best but I had a lot of trouble getting it to compile and run. The other ones just didnt impress m. Probably would be best writing your own and maybe een making a sourceforge project out of it after version 0.1. We could all use a good SDL GUI :)
I'm starting to implement my own GUI system, too.
Have a look at http://acolyte.ozforces.com.au/gui_tut1.html to give you an idea.
It's not that hard if you keep the design clean, so you can add new widgets/components easily if you need to.

To design the GUI, I'll probably (ab)use Delphi and write a tool to convert the Delphi forms to my internal format. My GUI will only use the very basic elements (Button etc.) so this won't be a problem.
You could also have a look at other "form designers" like the tools for wxWindows etc.
Here is an SDL framework. It has a hierarchical UI system within it that is relatively easy to extend. Unfortunately, the entire code base is rather interdependent, and so isolating the UI system isn't easy. But maybe it'll give you ideas.

Requires: SDL, SDL_ttf, SDL_mixer, SDL_net, SDL_image, and eXpat.

Get off my lawn!

This topic is closed to new replies.

Advertisement