<html> <head> <title>Ogre::EventDispatcher class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::EventDispatcher Class Reference</h1>Handles the Dispatching of events to a <a class="el" href="classOgre_1_1EventTarget.html">EventTarget</a> (mainly a <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> for mouse moving). <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>></code> <p> Collaboration diagram for Ogre::EventDispatcher:<p><center><img src="classOgre_1_1EventDispatcher__coll__graph.png" border="0" usemap="#Ogre_1_1EventDispatcher__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1EventDispatcher__coll__map"> <area href="classOgre_1_1PositionTarget.html" shape="rect" coords="7,108,140,89" alt=""> <area href="classOgre_1_1EventTarget.html" shape="rect" coords="13,36,133,17" alt=""> <area href="classOgre_1_1TargetManager.html" shape="rect" coords="187,108,323,89" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1EventDispatcher-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchera0">EventDispatcher</a> (<a class="el" href="classOgre_1_1TargetManager.html">TargetManager</a> *pTargetManager)</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchera1">~EventDispatcher</a> ()</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchera2">dispatchEvent</a> (<a class="el" href="classOgre_1_1InputEvent.html">InputEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Dispatches an event to a <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> if necessary, and returns whether or not the event was forwarded to a sub-<a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>.</em> <a href="#Ogre_1_1EventDispatchera2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchera3">setDragDrop</a> (bool dragDropOn)</td></tr> <tr><td> </td><td><font size=-1><em>Enables or disables the mouse drag/drop events on the next mouse drag sequence.</em> <a href="#Ogre_1_1EventDispatchera3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a> </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchera4">getMouseX</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Returns the X screen coordinate of the current mouse position.</em> <a href="#Ogre_1_1EventDispatchera4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a> </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchera5">getMouseY</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Returns the Y screen coordinate of the current mouse position.</em> <a href="#Ogre_1_1EventDispatchera5"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatcherb0">processKeyEvent</a> (<a class="el" href="classOgre_1_1KeyEvent.html">KeyEvent</a> *e)</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatcherb1">processMouseEvent</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>This method attempts to distribute a mouse event to a lightweight <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>.</em> <a href="#Ogre_1_1EventDispatcherb1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatcherb2">retargetMouseEvent</a> (<a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> *target, <a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Sends a mouse event to the current mouse event recipient using the given event (sent to the windowed host) as a srcEvent.</em> <a href="#Ogre_1_1EventDispatcherb2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatcherb3">retargetMouseEvent</a> (<a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> *target, int id, <a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e, bool consume=false)</td></tr> <tr><td> </td><td><font size=-1><em>Sends a mouse event to the current mouse event recipient using the given event (sent to the windowed host) as a srcEvent.</em> <a href="#Ogre_1_1EventDispatcherb3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatcherb4">retargetKeyEvent</a> (<a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> *target, int id, <a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Sends a key event to the current mouse event recipient using the given event (sent to the windowed host) as a srcEvent.</em> <a href="#Ogre_1_1EventDispatcherb4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatcherb5">trackMouseEnterExit</a> (<a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> *targetOver, <a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatcherb6">trackKeyEnterExit</a> (<a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> *targetOver, <a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1TargetManager.html">TargetManager</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern0">mTargetManager</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern1">mFocus</a></td></tr> <tr><td> </td><td><font size=-1><em>The current <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> that has focus that is being hosted by this <a class="el" href="classOgre_1_1GuiContainer.html">GuiContainer</a>.</em> <a href="#Ogre_1_1EventDispatchern1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern2">mMouseDragSource</a></td></tr> <tr><td> </td><td><font size=-1><em>The current <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>, over which, the current drag operation originated.</em> <a href="#Ogre_1_1EventDispatchern2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern3">mKeyCursorOn</a></td></tr> <tr><td> </td><td><font size=-1><em><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> the Keycursor is on.</em> <a href="#Ogre_1_1EventDispatchern3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern4">mTargetLastEntered</a></td></tr> <tr><td> </td><td><font size=-1><em>The last <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> entered.</em> <a href="#Ogre_1_1EventDispatchern4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a> </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern5">mMouseX</a></td></tr> <tr><td> </td><td><font size=-1><em>Screen coordinates of the last (or current) mouse event.</em> <a href="#Ogre_1_1EventDispatchern5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a> </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern6">mMouseY</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern7">mDragging</a></td></tr> <tr><td> </td><td><font size=-1><em>Indicates if the mouse pointer is currently being dragged...</em> <a href="#Ogre_1_1EventDispatchern7"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern8">mDragDropOn</a></td></tr> <tr><td> </td><td><font size=-1><em>Indicates whether or not Drag/Drop event will be generated during the next drag sequence.</em> <a href="#Ogre_1_1EventDispatchern8"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern9">mDragDropActive</a></td></tr> <tr><td> </td><td><font size=-1><em>Indicates whether or not Drag/Drop events are currently being generated.</em> <a href="#Ogre_1_1EventDispatchern9"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchern10">mEventMask</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Handles the Dispatching of events to a <a class="el" href="classOgre_1_1EventTarget.html">EventTarget</a> (mainly a <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> for mouse moving). <p> <dl compact><dt><b> Remarks: </b><dd> A <a class="el" href="classOgre_1_1EventDispatcher.html">EventDispatcher</a> is needed for each <a class="el" href="classOgre_1_1TargetManager.html">TargetManager</a>. ie 1 dispatcher for the <a class="el" href="classOgre_1_1OverlayManager.html">OverlayManager</a>, for managing the 2D GUI components, and another <a class="el" href="classOgre_1_1EventDispatcher.html">EventDispatcher</a> for a <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> managing the 3D objects.(NOTE currently the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> isn't a <a class="el" href="classOgre_1_1TargetManager.html">TargetManager</a>.. this is a TODO). </dl> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00058">58</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1EventDispatchera0" doxytag="Ogre::EventDispatcher::EventDispatcher"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::EventDispatcher::EventDispatcher </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1TargetManager.html">TargetManager</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pTargetManager</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">37</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreEventDispatcher_8h-source.html#l00112">mDragDropActive</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00107">mDragDropOn</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00099">mDragging</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00114">mEventMask</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00069">mFocus</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00080">mKeyCursorOn</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00075">mMouseDragSource</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00091">mMouseX</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00092">mMouseY</a>, and <a class="el" href="OgreEventDispatcher_8h-source.html#l00085">mTargetLastEntered</a>. </td> </tr> </table> <a name="Ogre_1_1EventDispatchera1" doxytag="Ogre::EventDispatcher::~EventDispatcher"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::EventDispatcher::~EventDispatcher </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00053">53</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1EventDispatchera2" doxytag="Ogre::EventDispatcher::dispatchEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::EventDispatcher::dispatchEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1InputEvent.html">InputEvent</a> * </td> <td class="mdname1" valign="top" nowrap> <em>e</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Dispatches an event to a <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> if necessary, and returns whether or not the event was forwarded to a sub-<a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>e</em> </td><td> the event </td></tr> </table> </dl> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00058">58</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreInputEvent_8cpp-source.html#l00083">Ogre::InputEvent::isEventBetween</a>(), <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00083">processKeyEvent</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(). <p> Referenced by <a class="el" href="OgreOverlayManager_8cpp-source.html#l00567">Ogre::OverlayManager::processEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchera4" doxytag="Ogre::EventDispatcher::getMouseX"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::EventDispatcher::getMouseX </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the X screen coordinate of the current mouse position. <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00202">202</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> References <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>. <p> Referenced by <a class="el" href="OgreOverlayManager_8h-source.html#l00125">Ogre::OverlayManager::getMouseX</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchera5" doxytag="Ogre::EventDispatcher::getMouseY"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::EventDispatcher::getMouseY </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the Y screen coordinate of the current mouse position. <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00206">206</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> References <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>. <p> Referenced by <a class="el" href="OgreOverlayManager_8h-source.html#l00126">Ogre::OverlayManager::getMouseY</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatcherb0" doxytag="Ogre::EventDispatcher::processKeyEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::EventDispatcher::processKeyEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1KeyEvent.html">KeyEvent</a> * </td> <td class="mdname1" valign="top" nowrap> <em>e</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00083">83</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreInputEvent_8cpp-source.html#l00063">Ogre::InputEvent::isConsumed</a>(), <a class="el" href="OgreEventDispatcher_8h-source.html#l00080">mKeyCursorOn</a>, and <a class="el" href="classOgre_1_1EventTarget.html#Ogre_1_1ScrollTargeta4">Ogre::EventTarget::processEvent</a>(). <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00058">dispatchEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatcherb1" doxytag="Ogre::EventDispatcher::processMouseEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::EventDispatcher::processMouseEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> * </td> <td class="mdname1" valign="top" nowrap> <em>e</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> This method attempts to distribute a mouse event to a lightweight <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>. <p> It tries to avoid doing any unnecessary probes down into the <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> tree to minimize the overhead of determining where to route the event, since mouse movement events tend to come in large and frequent amounts. <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">93</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreInputEvent_8cpp-source.html#l00089">Ogre::InputEvent::getID</a>(), <a class="el" href="classOgre_1_1TargetManager.html#Ogre_1_1TargetManagera0">Ogre::TargetManager::getPositionTargetAt</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00073">Ogre::MouseEvent::getX</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00083">Ogre::MouseEvent::getY</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00063">Ogre::InputEvent::isConsumed</a>(), <a class="el" href="OgreEventDispatcher_8h-source.html#l00112">mDragDropActive</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00099">mDragging</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00075">mMouseDragSource</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00091">mMouseX</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00092">mMouseY</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00061">mTargetManager</a>, <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00155">retargetMouseEvent</a>(), <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00257">trackKeyEnterExit</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00222">trackMouseEnterExit</a>(). <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00058">dispatchEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatcherb4" doxytag="Ogre::EventDispatcher::retargetKeyEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::EventDispatcher::retargetKeyEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td> <td class="mdname" nowrap> <em>target</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> * </td> <td class="mdname" nowrap> <em>e</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sends a key event to the current mouse event recipient using the given event (sent to the windowed host) as a srcEvent. <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00204">204</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreInputEvent_8cpp-source.html#l00048">Ogre::InputEvent::getModifiers</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00053">Ogre::InputEvent::getWhen</a>(), and <a class="el" href="classOgre_1_1EventTarget.html#Ogre_1_1ScrollTargeta4">Ogre::EventTarget::processEvent</a>(). <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00257">trackKeyEnterExit</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatcherb3" doxytag="Ogre::EventDispatcher::retargetMouseEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::EventDispatcher::retargetMouseEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td> <td class="mdname" nowrap> <em>target</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> * </td> <td class="mdname" nowrap> <em>e</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>consume</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sends a mouse event to the current mouse event recipient using the given event (sent to the windowed host) as a srcEvent. <p> If the mouse event target is still in the <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> tree, the coordinates of the event are translated to those of the target. If the target has been removed, we don't bother to send the message. <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00179">179</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreInputEvent_8cpp-source.html#l00043">Ogre::InputEvent::consume</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00097">Ogre::MouseEvent::getButtonID</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00062">Ogre::MouseEvent::getClickCount</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00048">Ogre::InputEvent::getModifiers</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00053">Ogre::InputEvent::getWhen</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00073">Ogre::MouseEvent::getX</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00083">Ogre::MouseEvent::getY</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00094">Ogre::MouseEvent::getZ</a>(), and <a class="el" href="classOgre_1_1EventTarget.html#Ogre_1_1ScrollTargeta4">Ogre::EventTarget::processEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatcherb2" doxytag="Ogre::EventDispatcher::retargetMouseEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::EventDispatcher::retargetMouseEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td> <td class="mdname" nowrap> <em>target</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> * </td> <td class="mdname" nowrap> <em>e</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sends a mouse event to the current mouse event recipient using the given event (sent to the windowed host) as a srcEvent. <p> If the mouse event target is still in the <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> tree, the coordinates of the event are translated to those of the target. If the target has been removed, we don't bother to send the message. <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00155">155</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreInputEvent_8cpp-source.html#l00043">Ogre::InputEvent::consume</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00097">Ogre::MouseEvent::getButtonID</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00062">Ogre::MouseEvent::getClickCount</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00089">Ogre::InputEvent::getID</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00048">Ogre::InputEvent::getModifiers</a>(), <a class="el" href="OgreInputEvent_8cpp-source.html#l00053">Ogre::InputEvent::getWhen</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00073">Ogre::MouseEvent::getX</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00083">Ogre::MouseEvent::getY</a>(), <a class="el" href="OgreMouseEvent_8cpp-source.html#l00094">Ogre::MouseEvent::getZ</a>(), and <a class="el" href="classOgre_1_1EventTarget.html#Ogre_1_1ScrollTargeta4">Ogre::EventTarget::processEvent</a>(). <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00222">trackMouseEnterExit</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchera3" doxytag="Ogre::EventDispatcher::setDragDrop"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::EventDispatcher::setDragDrop </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>dragDropOn</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Enables or disables the mouse drag/drop events on the next mouse drag sequence. <p> It has no effect on the current drag sequence, if any. Drag/drop events are typically enabled when the mouse enters the area of a particular <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>.<dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dragDropOn</em> </td><td> Indicates whether or not the drag/drop events should be enabled. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00077">77</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreEventDispatcher_8h-source.html#l00107">mDragDropOn</a>. <p> Referenced by <a class="el" href="OgreOverlayManager_8h-source.html#l00127">Ogre::OverlayManager::setDragDrop</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatcherb6" doxytag="Ogre::EventDispatcher::trackKeyEnterExit"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::EventDispatcher::trackKeyEnterExit </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td> <td class="mdname" nowrap> <em>targetOver</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> * </td> <td class="mdname" nowrap> <em>e</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00257">257</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="classOgre_1_1PositionTarget.html#Ogre_1_1PositionTargeta3">Ogre::PositionTarget::isKeyEnabled</a>(), <a class="el" href="OgreEventDispatcher_8h-source.html#l00080">mKeyCursorOn</a>, and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00204">retargetKeyEvent</a>(). <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatcherb5" doxytag="Ogre::EventDispatcher::trackMouseEnterExit"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::EventDispatcher::trackMouseEnterExit </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> * </td> <td class="mdname" nowrap> <em>targetOver</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> * </td> <td class="mdname" nowrap> <em>e</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00222">222</a> of file <a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a>. <p> References <a class="el" href="OgreEventDispatcher_8h-source.html#l00099">mDragging</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00075">mMouseDragSource</a>, <a class="el" href="OgreEventDispatcher_8h-source.html#l00085">mTargetLastEntered</a>, and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00155">retargetMouseEvent</a>(). <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(). </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1EventDispatchern9" doxytag="Ogre::EventDispatcher::mDragDropActive"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::EventDispatcher::mDragDropActive<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Indicates whether or not Drag/Drop events are currently being generated. <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00112">112</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern8" doxytag="Ogre::EventDispatcher::mDragDropOn"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::EventDispatcher::mDragDropOn<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Indicates whether or not Drag/Drop event will be generated during the next drag sequence. <p> <dl compact><dt><b> See also: </b><dd> <a class="el" href="classOgre_1_1EventDispatcher.html#Ogre_1_1EventDispatchera3">setDragDrop</a> </dl> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00107">107</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00077">setDragDrop</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern7" doxytag="Ogre::EventDispatcher::mDragging"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::EventDispatcher::mDragging<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Indicates if the mouse pointer is currently being dragged... <p> this is needed because we may receive exit events while dragging and need to keep the current mouse target in this case. <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00099">99</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00222">trackMouseEnterExit</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern10" doxytag="Ogre::EventDispatcher::mEventMask"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::EventDispatcher::mEventMask<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00114">114</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern1" doxytag="Ogre::EventDispatcher::mFocus"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>* Ogre::EventDispatcher::mFocus<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The current <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> that has focus that is being hosted by this <a class="el" href="classOgre_1_1GuiContainer.html">GuiContainer</a>. <p> If this is a null reference then there is currently no focus on a <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> being hosted by this <a class="el" href="classOgre_1_1GuiContainer.html">GuiContainer</a> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00069">69</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern3" doxytag="Ogre::EventDispatcher::mKeyCursorOn"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>* Ogre::EventDispatcher::mKeyCursorOn<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> the Keycursor is on. <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00080">80</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00083">processKeyEvent</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00257">trackKeyEnterExit</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern2" doxytag="Ogre::EventDispatcher::mMouseDragSource"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>* Ogre::EventDispatcher::mMouseDragSource<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The current <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>, over which, the current drag operation originated. <p> Only valid when mDragging is true. May be null. <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00075">75</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00222">trackMouseEnterExit</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern5" doxytag="Ogre::EventDispatcher::mMouseX"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::EventDispatcher::mMouseX<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Screen coordinates of the last (or current) mouse event. <p> Will eventually be useful for managing mouse cursors. <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00091">91</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern6" doxytag="Ogre::EventDispatcher::mMouseY"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::EventDispatcher::mMouseY<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00092">92</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern4" doxytag="Ogre::EventDispatcher::mTargetLastEntered"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a>* Ogre::EventDispatcher::mTargetLastEntered<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The last <a class="el" href="classOgre_1_1PositionTarget.html">PositionTarget</a> entered. <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00085">85</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00037">EventDispatcher</a>(), and <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00222">trackMouseEnterExit</a>(). </td> </tr> </table> <a name="Ogre_1_1EventDispatchern0" doxytag="Ogre::EventDispatcher::mTargetManager"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TargetManager.html">TargetManager</a>* Ogre::EventDispatcher::mTargetManager<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreEventDispatcher_8h-source.html#l00061">61</a> of file <a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a>. <p> Referenced by <a class="el" href="OgreEventDispatcher_8cpp-source.html#l00093">processMouseEvent</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreEventDispatcher_8h-source.html">OgreEventDispatcher.h</a><li><a class="el" href="OgreEventDispatcher_8cpp-source.html">OgreEventDispatcher.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:17:20 2004 </p> </body> </html>