hi there,
I'm trying to make an icon buff and it has count down time.
When my cursor hover the icon, it's tooltip show out the remaining time.
It is a changing text at every second in the tooltip.
I think that I can have two or more text component in .looknfeel, just like <ImagerySection name="title"> and <ImagerySection name="text">.
And I add an component is <ImagerySection name="countDown">
I only change 'countDown' text component in my own update function, is it possible? How do I finish it?
thanks before any help
How do I have a floating text in the tooltip?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: How do I have a floating text in the tooltip?
Yes, what you have here is basically correct, you then add the 'countDown' ImagerySection to whatever StateDefinition(s) you want that section to appear for.
BUT...
Autosizing of the tooltip may need some reworking in order to accommodate the additional content, and since you have another thread which is more related to that topic, I will continue this there...
CE.
BUT...
Autosizing of the tooltip may need some reworking in order to accommodate the additional content, and since you have another thread which is more related to that topic, I will continue this there...
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Who is online
Users browsing this forum: No registered users and 18 guests