Jump to content
  • Advertisement
Sign in to follow this  
sunsflower

OpenGL c++ gui library suitable for game?

This topic is 894 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

hi! I wonder is there any good gui libraries for games? I've searched for some time but nothing is quite satisfying. those libs are without opengl support, or control the mainloop...Any advice? thanks!

Share this post


Link to post
Share on other sites
Advertisement

 those libs are without opengl support, or control the mainloop...

 

You might want to check ImGui. Its OpenGL sample is straightforward.

Note that it's immediate mode gui, it might feel somewhat specific, quite different from classical "retained mode" guis.

Whether it's good or bad - it's up to you, but at least it doesn't host own event loop, and there's renderers for lots of graphical API's.

Edited by vstrakh

Share this post


Link to post
Share on other sites

and if I want to wirte an editor with opengl content, can I use imgui? or wxwidgets or cegui will be better? (should I even write one myself...) :)

Share this post


Link to post
Share on other sites

and if I want to wirte an editor with opengl content, can I use imgui?

 

Sure, have a look here and see what others have created with it.

Share this post


Link to post
Share on other sites
There is also libRocket although the main branch has been inactive since 2011. Apparently there are active forks around on GitHub but that might require some research.

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!