Skip to main content
GameDev.net gamedev.net
🔒 Locked

SXML GUI problem, anyone using it?

Started by DarylK Mar 29, 2006 at 8:03 AM 0 replies 450+ views
Original Post
DarylK
DarylK
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.