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
Tooltip does not Display
Moderators: CEGUI MVP, CEGUI Team
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: Tooltip does not Display
What you've listed should be enough to get it working. There is'nt anything else you can do.
Have you tried with a TaharezLook/WindowsLook tooltip to check if it's your look'n'feel ?
And you only have to set the custom tool type if it's different from the default.
Have you tried with a TaharezLook/WindowsLook tooltip to check if it's your look'n'feel ?
And you only have to set the custom tool type if it's different from the default.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 11 guests