Jump to content
  • Advertisement
Sign in to follow this  
nickmerritt

GUIs

This topic is 5030 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been writing my own GUI, however I see that to write a really good gui it takes alot of work and time. Since I don't want to spend alot of time on it could anyone recomend a nice GUI with the following requirements. -Linux, Windows -doesn't use a specific rendering system unless it uses SDL or maybe OpenGL -eligant and stable -fits into games nicly, ie: allows full drawing surport onto widgits or designed for games -has been used in games already I've looked at ParaGUI and it is ok, but it seems to run really bad on my system. It could be the transparence through DirectDraw via SDL because as soon as there is any transp the frame rate drops to around 24ish from 85. Any ideas? Thanks, Nick [Edited by - nickmerritt on January 6, 2005 1:42:58 PM]

Share this post


Link to post
Share on other sites
Advertisement
have a look at wxWidgets (I think a.k.a. GTK+, wxWindows).

http://www.wxwindows.org/
http://www.wxwidgets.org/

Share this post


Link to post
Share on other sites
Could wxWidgets really be used in a game? I've never used it so I don't know how it works but it seems like in a game you'd want your widgets to be rendered using directx or ogl or whatever you're using and most likely skinned.

Share this post


Link to post
Share on other sites
I've not got much experience here, but you might like to look into http://crayzedsgui.sourceforge.net/.

Quote:
Original post by oliii
have a look at wxWidgets (I think a.k.a. GTK+, wxWindows).

http://www.wxwindows.org/
http://www.wxwidgets.org/


GTK+ is something entirely different. It operates at a lower level than wxWidgets. In fact, wxWidget's uses it on Linux to give a 'native' look and feel (GTK+ seems to be the most widespread GUI library used on Linux these days).

You can use GTK+ with OpenGL (see here). But I think that would be far too OTT for what you probably want.

Share this post


Link to post
Share on other sites
There are quite a few OGL GUI libraries. I don't think that a libray like wxWidgets would be a solution for game UIs. Try looking for some GUI libs here: http://www.libsdl.org/libraries.php

Share this post


Link to post
Share on other sites
I am using wxWidgets for my editor but am using SDL for my engine. You can open a OpenGL window within a wx app, but thats not really what you want in a game, where the GUI should be within the opengl/direct32 window...

wx is cool i have to say, but its not suited for an engine as people here have said. At this stage I am not even thinking about how to do an in game GUI.

Share this post


Link to post
Share on other sites
I second the recomendation for Crazy Eddies GUI. I have used it wit OGRE quite nicely, but there are other rendering systems that can be used - OGRE, Direct 8 & 9, irlight, and I think OpenGL but am not sure, but an interface can be written easily for any rendering engine.

Check out my binary demos for an OGRE/CEGUI demo program of mine.

Share this post


Link to post
Share on other sites
Quote:
Original post by Basiror
its always a good practise to code your own gui

actually it s damn easy with opengl


Well, damn easy I wouldn't call it, because it requires alot of work on the design table if you want a GUI for future use. And drawing is quite easy once you have sorted them correctly (because some have textures and some don't and you don't want to change state every time).

So it depends on what kind of GUI you're making of course, and saying that's easy with OpenGL is not a good argument. The drawing is the smallest step in a GUI. I'm guessing that you've made a simple (a couple of controls) non-resuable GUI, because else you're genius!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!