tooltips
Posted: Fri Jul 03, 2009 11:43
I am using CEGUI with Ogre and I want to use the CEGUI tooltip using WindowsLook/Tooltip on my ogre entities. When th emouse is on an entity, I create a tooltip :
But I don't see anything showing up and there are no errors in the log.
I have tooltips working well on CEGUI entities but I would like to extend that to Ogre objects.
Thanks,
Code: Select all
win = (CEGUI::Tooltip *)CEGUI::WindowManager::getSingleton().createWindow("WindowsLook/Tooltip", "Tooltip");
win->setText("This is a test");
win->setFadeTime(1.0);
win->setHoverTime(4.0);
win->setFont("myfont");
win->setAlwaysOnTop(true);
win->sizeSelf();
win->positionSelf();
But I don't see anything showing up and there are no errors in the log.
I have tooltips working well on CEGUI entities but I would like to extend that to Ogre objects.
Thanks,