mouseEntered/Exited
Posted: Fri Feb 11, 2005 19:04
I have a FrameWindow in my ogre application and I want to detect when the mouse enters/exits the FrameWindow. I tried mouseEntered/Exited but cannot detect when the mouse enters/exits the framewindow. Is it suupposed to do that? Or does it only detect when the mouse enters/leaves the entire ogre application?
I need this because I have to know if the user is clicking on the gui or on the 3d landscape. If its clicking on the gui, I should not move the camera. But if its clicking on the landscape, then I should move the camera towards that point.
Basically, the application I'm making is like your normal rpg. When the player is clicking on the inventory gui, you don't move the player's character towards that point.
Take it easy on me. I'm quite new to cegui. Thanks!
I need this because I have to know if the user is clicking on the gui or on the 3d landscape. If its clicking on the gui, I should not move the camera. But if its clicking on the landscape, then I should move the camera towards that point.
Basically, the application I'm making is like your normal rpg. When the player is clicking on the inventory gui, you don't move the player's character towards that point.
Take it easy on me. I'm quite new to cegui. Thanks!