Problems with loadWindowLayout

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

Executer
Just popping in
Just popping in
Posts: 3
Joined: Tue May 16, 2006 13:00

Problems with loadWindowLayout

Postby Executer » Tue May 16, 2006 13:31

Hi everybody.

I have some problems with multiple loading layout. I am creating latout

Code: Select all

CEGUI::WindowManager* mgr = CEGUI::WindowManager::getSingletonPtr();
m_window = mgr->loadWindowLayout("LoadingScreen.layout");


Then I am destroy it

Code: Select all

CEGUI::WindowManager::getSingleton().destroyWindow(m_window);


And do it several times. On the third or fifs or another time programs fly out with such error in log:

Code: Select all

WindowManager::loadWindowLayout - loading of layout from file 'LoadingScreen.layout' failed.

:(
Can anybody explain - why so happend?

Thanks.

Executer
Just popping in
Just popping in
Posts: 3
Joined: Tue May 16, 2006 13:00

Problems with loadWindowLayout

Postby Executer » Thu May 25, 2006 09:58

Hi everybody. :)

I have fonde the reason of this bug. But have no time to explore this problem more deep. But it is very interesting and usefull to know. May be somebody know why so happend:

I have used Layout with specific name when program fly out. When I have deleted the name and use uniq generated names by CEGUI -> program became work good.

Whate for your replise :)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 8 guests