Tooltip does not Display
Posted: Thu Jan 12, 2006 17:01
Hi there,
I'm using Ogre under Linux.
Looking at the forum I found that I have to do a few major things for Tooltips:
Inject the time pulse: CEGUI::System::injectTimePulse(). Already did that for AutoRepeat Buttons.
Setting a default Tooltip:
CEGUI::System::getSingleton().setTooltip( (CEGUI::utf8*)"RealTVLook/Tooltip");
and assigning Text to a window:
Either by:
pkWin->setTooltipText( (CEGUI::utf8*)"Hello" );
pkWin->setTooltipType( (CEGUI::utf8*)"RealTVLook/Tooltip" );
or in the layout file:
<Property Name="Tooltip" Value="Quit the application" />
<Property Name="CustomTooltipType" Value="RealTVLook/Tooltip" />
But no tooltips are shown???
Can someone help me right here?
Thanks,
Ben
I'm using Ogre under Linux.
Looking at the forum I found that I have to do a few major things for Tooltips:
Inject the time pulse: CEGUI::System::injectTimePulse(). Already did that for AutoRepeat Buttons.
Setting a default Tooltip:
CEGUI::System::getSingleton().setTooltip( (CEGUI::utf8*)"RealTVLook/Tooltip");
and assigning Text to a window:
Either by:
pkWin->setTooltipText( (CEGUI::utf8*)"Hello" );
pkWin->setTooltipType( (CEGUI::utf8*)"RealTVLook/Tooltip" );
or in the layout file:
<Property Name="Tooltip" Value="Quit the application" />
<Property Name="CustomTooltipType" Value="RealTVLook/Tooltip" />
But no tooltips are shown???
Can someone help me right here?
Thanks,
Ben