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