How to create two windows by tow layout file?

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

syz916
Just popping in
Just popping in
Posts: 3
Joined: Fri Dec 25, 2009 07:34

How to create two windows by tow layout file?

Postby syz916 » Fri Dec 25, 2009 08:19

I want to crete two windows by two layout files,but the first one is not activate. I want to tow window both activate! think you!

root = (DefaultWindow*)winMgr.createWindow("DefaultWindow", "Root1");
root->addChildWindow (winMgr.loadWindowLayout ("unnamed1.layout"));
root->addChildWindow (winMgr.loadWindowLayout ("manieditmenu.layout"));

Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 8 guests