Jump to content
  • Advertisement

Archived

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

Spencer

Designing a GUI library

This topic is 5896 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 am currently writing a game ( a 2d isometric RPG...original aight) and i am about to implement a GUI. The GUI is supposed to be quite generic and it will be more generic than easy-to-use. Now, when looking at the java GUI and its design, i find it very nice (with all its listener and stuff), and it can be done in a nice way using the composite design pattern. Anyone have any experience in implementing a GUI library? are there any concrete problems, other patterns which are good to use and so on? any feedback and help is appreciated

Share this post


Link to post
Share on other sites
Advertisement
I based my GUI a lot (but not wholly) on GTK+''s design, incase you want to take a look at it. I found it to be extremely generic and easy to extend, so I went with it.

Share this post


Link to post
Share on other sites
If your coding this GUI in C++ I highly suggest reading a book called "Design Patters" before you implement the GUI. This book contains information and ideas on how to implement GUI systems, as well as other things which lead to extendability and re-use.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!