Jump to content
  • Advertisement
Sign in to follow this  
brokenlynx

C++: API for GUI

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

Im using Visual C++ currently to make a simulation program consisting of a 'form' with an embedded frame displaying some rendering of 3D openGL based output. My question is, for a time constrained project where simplicity is currently favoured over complexity how should I go about implementing the visual portion of the project? Is it windows and MFC/Win32 (are these the same/similar)? Or is it linux? (what API's are capable of such a GL infused implementation?) ...just searching for some opinions....some help resources if known are always welcomed here, =D

Share this post


Link to post
Share on other sites
Advertisement
Qt is fairly simple to work with and its QGLWidget makes GL dead simple to embed in your app, but has licensing restrictions - notably, if your program is not open source, you have to use the commercial Qt.

Share this post


Link to post
Share on other sites
Quote:
Original post by brokenlynx
My question is, for a time constrained project where simplicity is currently favoured over complexity how should I go about implementing the visual portion of the project?


When is simplicity ever not favoured over complexity?! Do you mean simplicity is favoured over efficiency? The simplest thing would be to do this in a higher level language. Python, perhaps.

But if you need to use C++ for whatever reason, then I'd take a look at gtkmm for a "modern C++" GUI library. To me, many of the other libraries/toolkits feel flimsy in comparison.

Share this post


Link to post
Share on other sites
Quote:
Original post by brokenlynx
Im using Visual C++... for a time constrained project where simplicity is currently favoured...


Oh?

Share this post


Link to post
Share on other sites
I think (if I read you correctly) your saying you want a form that you can fill out and change an embedded viewport. Just check out the MFC / DirectX tutorials.

Generate yourself a new dialog based application and embed DirectX into it.

Lay your form out with the resource editor and VS will even generate handlers for when things happen on your form if you want.

This is only a quick simulation/tool type project correct?

P.S. I think he means simplicity over configurability/customizability.

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!