getWindowContainingMouse not updated

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

earthsruler
Quite a regular
Quite a regular
Posts: 74
Joined: Mon Apr 28, 2008 23:21
Location: Australia

getWindowContainingMouse not updated

Postby earthsruler » Tue Jul 01, 2008 05:09

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.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Tue Jul 01, 2008 07:28

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
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