Open-source cross-platform <del>GUI</del> HUD library?
Moderator: Coders of Rage
- TheOtherGyro
- Chaos Rift Newbie
- Posts: 4
- Joined: Mon Apr 19, 2010 1:38 pm
- Current Project: Some surrealist machine-building platformer thing.
- Favorite Gaming Platforms: PC Master Race
- Programming Language of Choice: C++ master race
- Contact:
Open-source cross-platform <del>GUI</del> HUD library?
I've been looking for a decent GUI library for use with OpenGL for some time now, but each time I try one out, it's either missing certain features that are important to me or it's very difficult to get working. GUIChan didn't have resizable text elements, CEGUI crashed every time I tried to get it to work (and yes, I had all of the dependencies), some other library that I forget the name of had about eight dependencies and had to be built in make (I don't know how to use make, though I can't imagine it'd be that hard). I'm more inclined to write my own GUI code at this point, though that'd be a pain in the ass given my requirements (I'm planning to write an in-game level editor).
So, if anybody could recommend a library for this sort of thing, it'd be very helpful. Also, is CEGUI worth the hassle? By all means tell me if you've had a good experience with it.
So, if anybody could recommend a library for this sort of thing, it'd be very helpful. Also, is CEGUI worth the hassle? By all means tell me if you've had a good experience with it.
Last edited by TheOtherGyro on Tue Apr 20, 2010 2:20 am, edited 1 time in total.
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: Open-source cross-platform GUI library?
Well, unless you mean a frame library, then OpenGL is the actual GUI library. If you want a frame library, try WxWidgets or Qt. If you just want an abstraction layer for OpenGL, I'd recommend either making one yourself or using SFML.TheOtherGyro wrote:decent GUI library for use with OpenGL
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Open-source cross-platform GUI library?
YOU WANT QT, GODDAMNIT! QT IS THE FUTURE OF C++ GUI DEVELOPMENT!
</endfanboyism>
</endfanboyism>
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Re: Open-source cross-platform GUI library?
GyroVorbis wrote:YOU WANT QT, GODDAMNIT! QT IS THE FUTURE OF C++ GUI DEVELOPMENT!
</endfanboyism>
I'm sick of these fuckin Qt fanboys!!!!!!
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: Open-source cross-platform GUI library?
Qt is actually great, I'll be using it as wellhurstshifter wrote:GyroVorbis wrote:YOU WANT QT, GODDAMNIT! QT IS THE FUTURE OF C++ GUI DEVELOPMENT!
</endfanboyism>
I'm sick of these fuckin Qt fanboys!!!!!!
There's no place like ~/
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Open-source cross-platform GUI library?
I've been saved many-a-time after putting software engineering projects off until midnight the day it was due by QT. It's like a good friend that helps me out.hurstshifter wrote:GyroVorbis wrote:YOU WANT QT, GODDAMNIT! QT IS THE FUTURE OF C++ GUI DEVELOPMENT!
</endfanboyism>
I'm sick of these fuckin Qt fanboys!!!!!!
Also, Marcel's new editor/toolkit is being written with QT.
- combatant936
- Chaos Rift Newbie
- Posts: 39
- Joined: Wed Jul 29, 2009 11:11 pm
- Current Project: It's a secret!!
- Favorite Gaming Platforms: N64, SNES, PS2, PC
- Programming Language of Choice: C++, 65816 asm
- Location: Pennsylvania
- Contact:
Re: Open-source cross-platform GUI library?
Hey mine too!GyroVorbis wrote:Also, Marcel's new editor/toolkit is being written with QT.
Click here to see the hidden message (It might contain spoilers)
- xiphirx
- Chaos Rift Junior
- Posts: 324
- Joined: Mon Mar 22, 2010 3:15 pm
- Current Project: ******** (Unkown for the time being)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Contact:
Re: Open-source cross-platform GUI library?
I've been researching on QT since it was mentioned here. Since it is being used for GUI, and I need two gui elements that I really do not wish to code, I am wondering if you guys mean the thing from nokia... I can't really seem to find another "QT".
StarCraft II Zerg Strategy, open to all levels of players!
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
- Bullet Pulse
- Chaos Rift Cool Newbie
- Posts: 89
- Joined: Sun Feb 21, 2010 6:25 pm
Re: Open-source cross-platform GUI library?
Yea, here's a pointer:xiphirx wrote:I've been researching on QT since it was mentioned here. Since it is being used for GUI, and I need two gui elements that I really do not wish to code, I am wondering if you guys mean the thing from nokia... I can't really seem to find another "QT".
URL *QT = http://en.wikipedia.org/wiki/Qt_(framework);
Lol.
- TheOtherGyro
- Chaos Rift Newbie
- Posts: 4
- Joined: Mon Apr 19, 2010 1:38 pm
- Current Project: Some surrealist machine-building platformer thing.
- Favorite Gaming Platforms: PC Master Race
- Programming Language of Choice: C++ master race
- Contact:
Re: Open-source cross-platform GUI library?
So wait, QT can be used for things like, say, a HUD? In-game chat with copying to and pasting from the clipboard? It can be used within a fullscreen OpenGL application?
I think you guys misunderstand what I'm looking for. I need something that renders within OpenGL, not that OpenGL can render within. Something like CEGUI or GUIChan but more useful.
EDIT: Ah, I can see what happened here. You were taking the term "Graphical User Interface" literally. What I'm looking for is some sort of library that would make it easier to create things such as an in-game journal, a chat window with scrollable log, an inventory screen, that sort of thing. I'd write it myself but providing cross-platform support for certain things like the clipboard would be a huge pain in the ass, and this sort of thing could just save me work in general.
You know, it'd really be less ambiguous to just call it a HUD library.
I'm looking for a HUD library, anybody have any suggestions?
(In case you skipped most of this post and just jumped here, no, I don't need a library just for simple things like a health bar. Read the rest of the post.)
I think you guys misunderstand what I'm looking for. I need something that renders within OpenGL, not that OpenGL can render within. Something like CEGUI or GUIChan but more useful.
EDIT: Ah, I can see what happened here. You were taking the term "Graphical User Interface" literally. What I'm looking for is some sort of library that would make it easier to create things such as an in-game journal, a chat window with scrollable log, an inventory screen, that sort of thing. I'd write it myself but providing cross-platform support for certain things like the clipboard would be a huge pain in the ass, and this sort of thing could just save me work in general.
You know, it'd really be less ambiguous to just call it a HUD library.
I'm looking for a HUD library, anybody have any suggestions?
(In case you skipped most of this post and just jumped here, no, I don't need a library just for simple things like a health bar. Read the rest of the post.)
-
- Chaos Rift Demigod
- Posts: 991
- Joined: Thu Nov 13, 2008 3:16 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Amiga, PSOne, NDS
- Programming Language of Choice: C++
- Location: Sweden
Re: Open-source cross-platform <del>GUI</del> HUD library?
Writing your own HUD would probably be the best way to go despite it being a pain in the ass because you'd get exactly what you're looking for.
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: Open-source cross-platform GUI library?
GOD YES, QT ROCKS MY WORLD!!!!!!GyroVorbis wrote:YOU WANT QT, GODDAMNIT! QT IS THE FUTURE OF C++ GUI DEVELOPMENT!
</endfanboyism>
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Open-source cross-platform GUI library?
Ah, gotcha.TheOtherGyro wrote:So wait, QT can be used for things like, say, a HUD? In-game chat with copying to and pasting from the clipboard? It can be used within a fullscreen OpenGL application?
I think you guys misunderstand what I'm looking for. I need something that renders within OpenGL, not that OpenGL can render within. Something like CEGUI or GUIChan but more useful.
EDIT: Ah, I can see what happened here. You were taking the term "Graphical User Interface" literally. What I'm looking for is some sort of library that would make it easier to create things such as an in-game journal, a chat window with scrollable log, an inventory screen, that sort of thing. I'd write it myself but providing cross-platform support for certain things like the clipboard would be a huge pain in the ass, and this sort of thing could just save me work in general.
You know, it'd really be less ambiguous to just call it a HUD library.
I'm looking for a HUD library, anybody have any suggestions?
(In case you skipped most of this post and just jumped here, no, I don't need a library just for simple things like a health bar. Read the rest of the post.)
But actually, QT can do that too. It has an OpenGL back-end, and can render to OpenGL canvases. I'm sure it's not what you're looking for, but it can totally do it.
-
- Chaos Rift Junior
- Posts: 345
- Joined: Tue Jan 12, 2010 7:23 pm
- Favorite Gaming Platforms: PC - Windows 7
- Programming Language of Choice: c++;haxe
- Contact:
Re: Open-source cross-platform <del>GUI</del> HUD library?
The only one I know of is CEGUI. It can render to DX/OGL and others. Check out the features http://www.cegui.org.uk/wiki/index.php/Features
Re: Open-source cross-platform <del>GUI</del> HUD library?
I'd say you be best off writing your own,as mentioned above... there are loads of ways to go about it, and the one that suits you best will probably have to be made by you