Sorry for the many questions. But I'm really new to this and googling doesn't show up good results.
I wanted to test the Tooltips in an unmodified Taharez look. I have StaticText with a <Property Name="Tooltip" Value="Hooray" />. If I hover the staticText I should get the tooltip, right? But nothing happens. Do I have to enable tooltips at some other point? All the tutorials only tell me to add a Property with name "Tooltip".
Tooltips not working (Taharez)
Moderators: CEGUI MVP, CEGUI Team
Re: Tooltips not working (Taharez)
Do you call System::injectTimePulse anywhere in your code?
Re: Tooltips not working (Taharez)
I'm only the GUI manager on XML level.
But doing a quick search in the sourcecode: No, it's never called.
Re: Tooltips not working (Taharez)
System::injectTimePulse tells CEGUI how many seconds have passed. If you never call it, tooltips, animations and maybe other stuff won't work. Tell your coders to insert it and call it every frame with a delta.
Re: Tooltips not working (Taharez)
OK, we have now the injectTimePulse in the ogre FrameListener (like it's in your wiki), but the tooltips still don't show up. For testing I tried to put a tooltip on a StaticText if this is important.
Re: Tooltips not working (Taharez)
I think you need to set the default tooltip or something...
See this article for more info. It's for 0.6 but most of it should apply to 0.7 http://www.cegui.org.uk/wiki/index.php/Tooltips
See this article for more info. It's for 0.6 but most of it should apply to 0.7 http://www.cegui.org.uk/wiki/index.php/Tooltips
Re: Tooltips not working (Taharez)
Thank you. Now it's working. You guys give great support. 
Who is online
Users browsing this forum: No registered users and 13 guests
