Page 1 of 1

loadWindowLayoutFromString??

Posted: Wed Sep 24, 2008 04:35
by bnolan
Hi - what is the easiest way to parse an string of xml into a window layout? I'm thinking of something like:

CEGUI::WindowManager::getSingleton().loadWindowLayoutFromString("<.... >");

What's the simplest way? :)

Ben

Posted: Wed Sep 24, 2008 19:08
by Kevin
I don't know what the "simplest" way is, but you could always write the string to a file, and get the WindowManager to load the file :)

Posted: Thu Sep 25, 2008 05:42
by bnolan
Heh thanks - thats what i decided to do. Haxalicious. So delicious. ;)