[tubras] r1905 committed - getHover fix.

1 view
Skip to first unread message

tub...@googlecode.com

unread,
Jan 13, 2012, 2:20:36 PM1/13/12
to tubras-s...@googlegroups.com
Revision: 1905
Author: pc0...@gmail.com
Date: Fri Jan 13 11:19:38 2012
Log: getHover fix.

http://code.google.com/p/tubras/source/detail?r=1905

Modified:
/trunk/tools/irrlicht/extensions/CGUISceneNode.h

=======================================
--- /trunk/tools/irrlicht/extensions/CGUISceneNode.h Fri Oct 28 11:14:59
2011
+++ /trunk/tools/irrlicht/extensions/CGUISceneNode.h Fri Jan 13 11:19:38
2012
@@ -147,6 +147,12 @@
virtual IGUIElement* getFocus() const {
return Focus;
}
+
+ //! Returns the element which was last under the mouse cursor
+ /** \return Pointer to the element under the mouse. */
+ virtual IGUIElement* getHovered() const {
+ return Hovered;
+ }

//! Removes the focus from an element.
/** Causes a EGET_ELEMENT_FOCUS_LOST event. If the event is
absorbed

Reply all
Reply to author
Forward
0 new messages