Jump to content
  • Advertisement
Sign in to follow this  
DarylK

OpenGL SXML GUI problem, anyone using it?

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

The original thread* has retired, so I have to start a new one. :/ In SXML GUI (created by JavaCoolDude), when you try to clear a frame/panel to replace it with new widgets (like you would when changing pages) it crashes. To reproduce: * Download the latest SXML version: http://www.realityflux.com/abba/C++/SXMLGUI/SXML%20GUI%200.86.zip * Replace this code in Main.cpp:
if(callbackString == "exit")
  if(button->isClicked())
     changeScene();
* With this:
if(callbackString == "exit")
  if(button->isClicked())
     guiFrame.GUIPanel::clear();
...and you'll see. Any ideas? I've tried contacting the author (JCD) but have received no reply. -Daryl P.S. The code to clear a frame/panel was taken from the original thread, posted by the author himself: http://www.gamedev.net/community/forums/topic.asp?topic_id=325963&whichpage=5� Original thread: * "OpenGL GUI anyone? Updated on 11/17/05" http://www.gamedev.net/community/forums/topic.asp?topic_id=325963

Share this post


Link to post
Share on other sites
Advertisement
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!