Hi, sorry for another noob-post but i haven't find any solution alone from my question.
Here two picture that explain better that the words the question.
http://img13.imageshack.us/img13/5204/image1yr7.jpg
http://img12.imageshack.us/img12/4827/image2ul8.jpg
I have tried this method (in pseudocode):
IF (mouse is over/enter my window)
SHIFT window's position of X
and...
IF (mouse leave my window)
SHIFT window's position of -X
This apparently work but if the mouse enter in a sub-window of principal window this code shift the window of -X and this isn't correct...
I hope that the question is clear,
Very thanks in advance, Martin
Shift Window position if mouse over
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
What you could do is, when you get the mouse leaves notification on the panel, test to see if the mouse has entered a child of the panel, if so do not hide the panel.
HTH
CE.
What you could do is, when you get the mouse leaves notification on the panel, test to see if the mouse has entered a child of the panel, if so do not hide the panel.
HTH
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 5 guests