Hey!
I have made a system to minimise and restore windows which showed me a small issue with getWindowContainingMouse.
getWindowContainingMouse is not updated after a window is moved, only after mouse input, therefore if I use double click to minimise a window, and then don't move the mouse, the window will move away but according to getWindowContainingMouse it is still there.
Thanks.
ER.
getWindowContainingMouse not updated
Moderators: CEGUI MVP, CEGUI Team
-
- Quite a regular
- Posts: 74
- Joined: Mon Apr 28, 2008 23:21
- Location: Australia
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Thanks,
so we have two options here: either resetting the 'mouseContaining' value when a window's position/dimension or visibility changes. Or by making the 'getWindowContainingMouse' method realtime.
Ticket here: http://www.cegui.org.uk/mantis/view.php?id=213
so we have two options here: either resetting the 'mouseContaining' value when a window's position/dimension or visibility changes. Or by making the 'getWindowContainingMouse' method realtime.
Ticket here: http://www.cegui.org.uk/mantis/view.php?id=213
Check out my released snake game using Cegui!
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 6 guests