Duplicating a window
Posted: Tue Oct 10, 2006 21:22
Hello,
I want to duplicate a window.
I tried:
but got compiler error, "cannot access protected member declared in class 'CEGUI::Window'.
*after I copied the window, I was going to change its name to be unique.
So how do I copy a window?
I want to duplicate a window.
I tried:
Code: Select all
CEGUI::Window* t = CEGUI::WindowManager::getSingleton().createWindow("WindowsLook/FrameWindow", "testframe");
(*t) = (*(getWindow("report_win")));
but got compiler error, "cannot access protected member declared in class 'CEGUI::Window'.
*after I copied the window, I was going to change its name to be unique.
So how do I copy a window?