sdl GUIs
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]
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 :)
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 :)
July 15, 2004 05:44 AM
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.
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.
Requires: SDL, SDL_ttf, SDL_mixer, SDL_net, SDL_image, and eXpat.
Get off my lawn!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement