for some reason, i need a window like this.
so i inherit a class from CEGUI::Window, and override updateSelf() method like Tooptip. and mark multi-window-state such as Active/FadeOut
then i create a window with it, like below
Code: Select all
MyOwnWindow* WindowPtr = static_cast<MyOwnWindow*>(m_WindowMgr->createWindow(WindowType, WindowName))
like System::setDefaultTooltip does below
Code: Select all
d_defaultTooltip = static_cast<Tooltip*>(WindowManager::getSingleton().createWindow(tooltipType, "CEGUI::System::default__auto_tooltip__"));
but, nothing happen!
the system does not invoke my updateSelf implement.

is there something goes wrong?