loadWindowLayoutFromString??

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

bnolan
Just popping in
Just popping in
Posts: 2
Joined: Wed Sep 24, 2008 04:32

loadWindowLayoutFromString??

Postby bnolan » Wed Sep 24, 2008 04:35

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

User avatar
Kevin
Not too shy to talk
Not too shy to talk
Posts: 29
Joined: Mon May 26, 2008 15:44

Postby Kevin » Wed Sep 24, 2008 19:08

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 :)

bnolan
Just popping in
Just popping in
Posts: 2
Joined: Wed Sep 24, 2008 04:32

Postby bnolan » Thu Sep 25, 2008 05:42

Heh thanks - thats what i decided to do. Haxalicious. So delicious. ;)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 9 guests