This has been asked before, but there was no answer.
Is it possible to make the carat of an editbox blink?
If this can't be done right now, I know it wouldn't be hard to add it (since CEGUI receives time pulses).
Carat blinking
Moderators: CEGUI MVP, CEGUI Team
This should probably be added as a feature request in mantis, as a blinking cursor is pratically always desired for an editbox.
I'm not sure when the EventRenderingStarted event is fired, nor do I know how/if the cursor rendering is cached, but if that event is fired per frame and the cursor rendering is cached separate from the editbox, you could probably just add an elapsed_time member/property to the object and inside the event handler change the visibility state of the cursor every half second or so.
I'm not sure when the EventRenderingStarted event is fired, nor do I know how/if the cursor rendering is cached, but if that event is fired per frame and the cursor rendering is cached separate from the editbox, you could probably just add an elapsed_time member/property to the object and inside the event handler change the visibility state of the cursor every half second or so.
Finally added to mantis:
http://cegui.org.uk/mantis/view.php?id=227
http://cegui.org.uk/mantis/view.php?id=227
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: Bing [Bot] and 3 guests