[code]
CEGUI::Window *popup = CEGUI::WindowManager::getSingleton().loadWindowLayout((CEGUI::utf8*)"MenupopupV1.layout");
CEGUI::Window *menu= win->getWindow((CEGUI::utf8*)"Root/Popup");
myRoot->addChildWindow(menu);
menu->hide();
/* Load messagebox */
Line Error : CEGUI::Window *messagebox = win->loadWindowLayout((CEGUI::utf8*)"test.layout");
CEGUI::Window *Messbox = win->getWindow((CEGUI::utf8*)"test" );
myRoot->addChildWindow(Messbox);
Messbox->hide();
[\code]
If i load only one layout (test.lyout or root/Popup) , it'll work normal .
But if i load 2 file layout together , it'll get a error !!
Why ??? Please help me soon !
Thanks for reading !
ERROR Load Layout !
Moderators: CEGUI MVP, CEGUI Team
ERROR Load Layout !
Never give up ...
..........................
..........................
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi,
the error will be written in the CEGUI.log file. My suggestion is that you have duplicate window names amongst both files. Within an entire cegui instance, each window must have a unique name.
HTH.
the error will be written in the CEGUI.log file. My suggestion is that you have duplicate window names amongst both files. Within an entire cegui instance, each window must have a unique name.
HTH.
Check out my released snake game using Cegui!
Who is online
Users browsing this forum: No registered users and 18 guests