ERROR Load Layout !
Posted: Mon Aug 11, 2008 02:36
[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 !
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 !