Re: [CsMain] How do you switch CEGUI layouts?

2007-12-19 Thread Patrick Ye
Hi nev7n, On Dec 19, 2007 8:41 PM, nev7n <[EMAIL PROTECTED]> wrote: > Hi Patrick, > this is the code I use to change cegui layouts: > winMgr->destroyAllWindows(); > > // Load layout and set as root > cegui->GetSystemPtr()->setGUISheet(winMgr->loadWindowLayout( > "menu.layout")); Thanks for

Re: [CsMain] How do you switch CEGUI layouts?

2007-12-19 Thread nev7n
Hi Patrick, this is the code I use to change cegui layouts: winMgr->destroyAllWindows(); // Load layout and set as root cegui->GetSystemPtr()->setGUISheet(winMgr->loadWindowLayout( "menu.layout")); Hope that helps. nev7n. Patrick Ye wrote: > Hi guys, > > I have a question about using the

[CsMain] How do you switch CEGUI layouts?

2007-12-15 Thread Patrick Ye
Hi guys, I have a question about using the CEGUI plugin and it's driving me a bit crazy. Basically, I want to have multiple GUIs for my program: one for the main interface, one for the settings interface and one for the game interface. So, I'd like to specify them in separate .layout xml files and