Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Daniel Benmergui

Is there anybody...out there? (GUIs)

This topic is 6622 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 am trying to come up with a GUI (C++) design for my team... What we need is a comfortable set of classes to work with regarding user interfasing. We need an easy way to make our game''s interfases without reworking everything from project to project. To solve this, i initially tried to emulate MFC framework, but so far, i am unable to simplify it without making a full blown framework!. I read the article on GUI design by Mason (here in GameDev) but i don''t fully understand how the client uses the system he proposed. I am looking for someone who is actually working on something like this, or someone who knows where can i find information or libraries. I will use DirectDraw (or Direct3D or DirectGraphics) but i want to be able to port it to OpenGL. Thanks everybody! Daniel.

Share this post


Link to post
Share on other sites
Advertisement
Wouldn''t it be possible to come up with a bunch of simple functions for the simpler things like message boxes? Just make a function that gets passed a string as a parameter and use DD to do the rest. For the more compicated things like full blown windows (a la Unreal Tournament) make more complex functions that take various parameters for width/height/pictures/labels, etc. It would probably take a while to get it all working, but it is the easiest way I know of, and I eventually plan to use it.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Check out fltk at www.fltk.org

It is a GUI framework that is multiplatform and supports OpenGL and Direct3D

Even if you want a custom GUI, you can pattern the API after this one, as it is simple and straightforward.

Mike

Share this post


Link to post
Share on other sites
I must totally agree with Mr. Moe about this issue.

Keep It Simply Stupid.



Despotismo AKA Javier Otaegui
Sabarasa Entertainment
www.sabarasa.com.ar

Share this post


Link to post
Share on other sites
Perhaps, if I ever come up with a very good library of functions for a GUI, I will let everyone know. They will be free and open source, so good GUIs for all!

Share this post


Link to post
Share on other sites
Everyone is writing a GUI based on a set of classes. I don''t understand why. Sure, classes seem great for the whole window hierarchy, but for games even the most complex GUIs aren''t complex enough to write a full blown GUI system based on classes. My idea is to write a GUI system that is based on an extremely simplified version of HTML, so you can layour ur stuff the way you want, and change the GUI without recompiling. A very simple java-script interpreter will take care of "mouse over" / "mouse out" events, showing and hiding layers, etc.

Where did I go wrong?

Share this post


Link to post
Share on other sites

  • 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!