<html> <head> <title>Ogre::GuiPressable 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::GuiPressable Class Reference</h1>The listener interface for receiving "interesting" mouse events (press, release, click, enter, and exit) on a component. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a>></code> <p> Inheritance diagram for Ogre::GuiPressable:<p><center><img src="classOgre_1_1GuiPressable__inherit__graph.png" border="0" usemap="#Ogre_1_1GuiPressable__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1GuiPressable__inherit__map"> <area href="classOgre_1_1BorderButtonGuiElement.html" shape="rect" coords="7,243,199,225" alt=""> <area href="classOgre_1_1ButtonGuiElement.html" shape="rect" coords="223,243,375,225" alt=""> <area href="classOgre_1_1PopupMenuGuiElement.html" shape="rect" coords="399,243,585,225" alt=""> <area href="classOgre_1_1MouseListener.html" shape="rect" coords="232,105,365,86" alt=""> <area href="classOgre_1_1EventListener.html" shape="rect" coords="235,35,363,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::GuiPressable:<p><center><img src="classOgre_1_1GuiPressable__coll__graph.png" border="0" usemap="#Ogre_1_1GuiPressable__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1GuiPressable__coll__map"> <area href="classOgre_1_1MouseListener.html" shape="rect" coords="252,28,385,9" alt=""> <area href="classOgre_1_1GuiElement.html" shape="rect" coords="261,161,376,142" alt=""> <area href="classOgre_1_1String.html" shape="rect" coords="19,125,99,106" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1GuiPressable-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_1GuiPressable.html#Ogre_1_1GuiPressablea0">GuiPressable</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &name)</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1GuiPressablea1">~GuiPressable</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa116">setSource</a> (<a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> *source)</td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1String.html">String</a> & </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa117">getActionCommand</a> () const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa118">setActionCommand</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &action)</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa119">isPressed</a> () const</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa120">setPressed</a> (bool b)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa121">mouseClicked</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Invoked when the mouse has been clicked on a component.</em> <a href="#Ogre_1_1PopupMenuGuiElementa121"></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_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa122">mouseEntered</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Invoked when the mouse enters a component.</em> <a href="#Ogre_1_1PopupMenuGuiElementa122"></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_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa123">mouseExited</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Invoked when the mouse exits a component.</em> <a href="#Ogre_1_1PopupMenuGuiElementa123"></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_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa124">mousePressed</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Invoked when a mouse button has been pressed on a component.</em> <a href="#Ogre_1_1PopupMenuGuiElementa124"></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_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementa125">mouseReleased</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td> </td><td><font size=-1><em>Invoked when a mouse button has been released on a component.</em> <a href="#Ogre_1_1PopupMenuGuiElementa125"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1ScrollBarGuiElementa117">mouseDragEntered</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1ScrollBarGuiElementa118">mouseDragExited</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1ScrollBarGuiElementa119">mouseDragDropped</a> (<a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a> *e)</td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1TTYGuiElementc0">isMulticaster</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Returns whether or not the listener is a multicaster.</em> <a href="#Ogre_1_1TTYGuiElementc0"></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>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementb16">fireActionPerformed</a> ()</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_1String.html">String</a> </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementn52">mActionCommand</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementn53">mPressed</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementn54">mButtonDown</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiPressable.html#Ogre_1_1PopupMenuGuiElementn55">mSource</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The listener interface for receiving "interesting" mouse events (press, release, click, enter, and exit) on a component. <p> (To track mouse moves and mouse drags, use the <a class="el" href="classOgre_1_1MouseMotionListener.html">MouseMotionListener</a>.) <p> The class that is interested in processing a mouse event either implements this interface (and all the methods it contains) or extends the abstract <code>MouseAdapter</code> class (overriding only the methods of interest). <p> The listener object created from that class is then registered with a component using the component's <code>addMouseListener</code> method. A mouse event is generated when the mouse is pressed, released clicked (pressed and released). A mouse event is also generated when the mouse cursor enters or leaves a component. When a mouse event occurs the relevant method in the listener object is invoked, and the <code><a class="el" href="classOgre_1_1MouseEvent.html">MouseEvent</a></code> is passed to it. <p> <p> Definition at line <a class="el" href="OgreGuiPressable_8h-source.html#l00054">54</a> of file <a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1GuiPressablea0" doxytag="Ogre::GuiPressable::GuiPressable"></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::GuiPressable::GuiPressable </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname1" valign="top" nowrap> <em>name</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="OgreGuiPressable_8cpp-source.html#l00035">35</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8h-source.html#l00057">mActionCommand</a>, and <a class="el" href="OgreGuiPressable_8h-source.html#l00058">mPressed</a>. </td> </tr> </table> <a name="Ogre_1_1GuiPressablea1" doxytag="Ogre::GuiPressable::~GuiPressable"></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"> virtual Ogre::GuiPressable::~GuiPressable </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="OgreGuiPressable_8h-source.html#l00066">66</a> of file <a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1PopupMenuGuiElementb16" doxytag="Ogre::GuiPressable::fireActionPerformed"></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::GuiPressable::fireActionPerformed </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> [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="OgreGuiPressable_8cpp-source.html#l00073">73</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8cpp-source.html#l00049">getActionCommand</a>(), <a class="el" href="OgreGuiPressable_8h-source.html#l00060">mSource</a>, and <a class="el" href="OgreGuiElement_8cpp-source.html#l00549">Ogre::GuiElement::processEvent</a>(). <p> Referenced by <a class="el" href="OgreGuiPressable_8cpp-source.html#l00081">mouseClicked</a>(), and <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00363">Ogre::PopupMenuGuiElement::mouseReleased</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa117" doxytag="Ogre::GuiPressable::getActionCommand"></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"> const <a class="el" href="classOgre_1_1String.html">String</a> & Ogre::GuiPressable::getActionCommand </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> <p> Definition at line <a class="el" href="OgreGuiPressable_8cpp-source.html#l00049">49</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8h-source.html#l00057">mActionCommand</a>. <p> Referenced by <a class="el" href="OgreGuiPressable_8cpp-source.html#l00073">fireActionPerformed</a>(). </td> </tr> </table> <a name="Ogre_1_1TTYGuiElementc0" doxytag="Ogre::GuiPressable::isMulticaster"></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"> virtual bool Ogre::EventListener::isMulticaster </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<code> [virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns whether or not the listener is a multicaster. <p> <p> Reimplemented in <a class="el" href="classOgre_1_1EventMulticaster.html#Ogre_1_1EventMulticastera15">Ogre::EventMulticaster</a>. <p> Definition at line <a class="el" href="OgreEventListeners_8h-source.html#l00065">65</a> of file <a class="el" href="OgreEventListeners_8h-source.html">OgreEventListeners.h</a>. <p> Referenced by <a class="el" href="OgreEventMulticaster_8cpp-source.html#l00233">Ogre::EventMulticaster::convertListenerToMulti</a>(), and <a class="el" href="OgreEventMulticaster_8cpp-source.html#l00191">Ogre::EventMulticaster::removeInternal</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa119" doxytag="Ogre::GuiPressable::isPressed"></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::GuiPressable::isPressed </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> <p> Definition at line <a class="el" href="OgreGuiPressable_8cpp-source.html#l00061">61</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8h-source.html#l00058">mPressed</a>. <p> Referenced by <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00307">Ogre::PopupMenuGuiElement::mouseMoved</a>(), <a class="el" href="OgreButtonGuiElement_8cpp-source.html#l00078">Ogre::ButtonGuiElement::updateMaterials</a>(), and <a class="el" href="OgreBorderButtonGuiElement_8cpp-source.html#l00075">Ogre::BorderButtonGuiElement::updateMaterials</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa121" doxytag="Ogre::GuiPressable::mouseClicked"></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::GuiPressable::mouseClicked </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> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Invoked when the mouse has been clicked on a component. <p> <p> Implements <a class="el" href="classOgre_1_1MouseListener.html#Ogre_1_1MouseListenera0">Ogre::MouseListener</a>. <p> Definition at line <a class="el" href="OgreGuiPressable_8cpp-source.html#l00081">81</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8cpp-source.html#l00073">fireActionPerformed</a>(). </td> </tr> </table> <a name="Ogre_1_1ScrollBarGuiElementa119" doxytag="Ogre::GuiPressable::mouseDragDropped"></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"> virtual void Ogre::MouseListener::mouseDragDropped </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> [virtual, inherited]</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="OgreEventListeners_8h-source.html#l00104">104</a> of file <a class="el" href="OgreEventListeners_8h-source.html">OgreEventListeners.h</a>. <p> Referenced by <a class="el" href="OgreMouseTarget_8cpp-source.html#l00046">Ogre::MouseTarget::processMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1ScrollBarGuiElementa117" doxytag="Ogre::GuiPressable::mouseDragEntered"></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"> virtual void Ogre::MouseListener::mouseDragEntered </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> [virtual, inherited]</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="OgreEventListeners_8h-source.html#l00102">102</a> of file <a class="el" href="OgreEventListeners_8h-source.html">OgreEventListeners.h</a>. <p> Referenced by <a class="el" href="OgreMouseTarget_8cpp-source.html#l00046">Ogre::MouseTarget::processMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1ScrollBarGuiElementa118" doxytag="Ogre::GuiPressable::mouseDragExited"></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"> virtual void Ogre::MouseListener::mouseDragExited </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> [virtual, inherited]</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="OgreEventListeners_8h-source.html#l00103">103</a> of file <a class="el" href="OgreEventListeners_8h-source.html">OgreEventListeners.h</a>. <p> Referenced by <a class="el" href="OgreMouseTarget_8cpp-source.html#l00046">Ogre::MouseTarget::processMouseEvent</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa122" doxytag="Ogre::GuiPressable::mouseEntered"></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::GuiPressable::mouseEntered </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> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Invoked when the mouse enters a component. <p> <p> Implements <a class="el" href="classOgre_1_1MouseListener.html#Ogre_1_1MouseListenera1">Ogre::MouseListener</a>. <p> Definition at line <a class="el" href="OgreGuiPressable_8cpp-source.html#l00085">85</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa123" doxytag="Ogre::GuiPressable::mouseExited"></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::GuiPressable::mouseExited </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> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Invoked when the mouse exits a component. <p> <p> Implements <a class="el" href="classOgre_1_1MouseListener.html#Ogre_1_1MouseListenera2">Ogre::MouseListener</a>. <p> Definition at line <a class="el" href="OgreGuiPressable_8cpp-source.html#l00088">88</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa124" doxytag="Ogre::GuiPressable::mousePressed"></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::GuiPressable::mousePressed </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> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Invoked when a mouse button has been pressed on a component. <p> <p> Implements <a class="el" href="classOgre_1_1MouseListener.html#Ogre_1_1MouseListenera3">Ogre::MouseListener</a>. <p> Definition at line <a class="el" href="OgreGuiPressable_8cpp-source.html#l00091">91</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8cpp-source.html#l00067">setPressed</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa125" doxytag="Ogre::GuiPressable::mouseReleased"></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::GuiPressable::mouseReleased </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> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Invoked when a mouse button has been released on a component. <p> <p> Implements <a class="el" href="classOgre_1_1MouseListener.html#Ogre_1_1MouseListenera4">Ogre::MouseListener</a>. <p> Definition at line <a class="el" href="OgreGuiPressable_8cpp-source.html#l00095">95</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8cpp-source.html#l00067">setPressed</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa118" doxytag="Ogre::GuiPressable::setActionCommand"></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::GuiPressable::setActionCommand </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname1" valign="top" nowrap> <em>action</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="OgreGuiPressable_8cpp-source.html#l00055">55</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8h-source.html#l00057">mActionCommand</a>. <p> Referenced by <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00363">Ogre::PopupMenuGuiElement::mouseReleased</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa120" doxytag="Ogre::GuiPressable::setPressed"></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::GuiPressable::setPressed </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>b</em> </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="OgreGuiPressable_8cpp-source.html#l00067">67</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreGuiPressable_8h-source.html#l00058">mPressed</a>. <p> Referenced by <a class="el" href="OgreGuiPressable_8cpp-source.html#l00091">mousePressed</a>(), <a class="el" href="OgreGuiPressable_8cpp-source.html#l00095">mouseReleased</a>(), <a class="el" href="OgreBorderButtonGuiElement_8cpp-source.html#l00179">Ogre::BorderButtonGuiElement::setBorderUpMaterialName</a>(), and <a class="el" href="OgreButtonGuiElement_8cpp-source.html#l00211">Ogre::ButtonGuiElement::setUpMaterialName</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementa116" doxytag="Ogre::GuiPressable::setSource"></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::GuiPressable::setSource </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td> <td class="mdname1" valign="top" nowrap> <em>source</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="OgreGuiPressable_8cpp-source.html#l00040">40</a> of file <a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a>. <p> References <a class="el" href="OgreMouseTarget_8cpp-source.html#l00086">Ogre::MouseTarget::addMouseListener</a>(), and <a class="el" href="OgreGuiPressable_8h-source.html#l00060">mSource</a>. <p> Referenced by <a class="el" href="OgreBorderButtonGuiElement_8cpp-source.html#l00044">Ogre::BorderButtonGuiElement::BorderButtonGuiElement</a>(), <a class="el" href="OgreButtonGuiElement_8cpp-source.html#l00044">Ogre::ButtonGuiElement::ButtonGuiElement</a>(), and <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00043">Ogre::PopupMenuGuiElement::PopupMenuGuiElement</a>(). </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1PopupMenuGuiElementn52" doxytag="Ogre::GuiPressable::mActionCommand"></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_1String.html">String</a> Ogre::GuiPressable::mActionCommand<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="OgreGuiPressable_8h-source.html#l00057">57</a> of file <a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a>. <p> Referenced by <a class="el" href="OgreGuiPressable_8cpp-source.html#l00049">getActionCommand</a>(), <a class="el" href="OgreGuiPressable_8cpp-source.html#l00035">GuiPressable</a>(), and <a class="el" href="OgreGuiPressable_8cpp-source.html#l00055">setActionCommand</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementn54" doxytag="Ogre::GuiPressable::mButtonDown"></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::GuiPressable::mButtonDown<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented in <a class="el" href="classOgre_1_1ButtonGuiElement.html#Ogre_1_1ButtonGuiElementn0">Ogre::ButtonGuiElement</a>. <p> Definition at line <a class="el" href="OgreGuiPressable_8h-source.html#l00059">59</a> of file <a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a>. <p> Referenced by <a class="el" href="OgreBorderButtonGuiElement_8cpp-source.html#l00044">Ogre::BorderButtonGuiElement::BorderButtonGuiElement</a>(), and <a class="el" href="OgreBorderButtonGuiElement_8cpp-source.html#l00075">Ogre::BorderButtonGuiElement::updateMaterials</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementn53" doxytag="Ogre::GuiPressable::mPressed"></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::GuiPressable::mPressed<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="OgreGuiPressable_8h-source.html#l00058">58</a> of file <a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a>. <p> Referenced by <a class="el" href="OgreGuiPressable_8cpp-source.html#l00035">GuiPressable</a>(), <a class="el" href="OgreGuiPressable_8cpp-source.html#l00061">isPressed</a>(), and <a class="el" href="OgreGuiPressable_8cpp-source.html#l00067">setPressed</a>(). </td> </tr> </table> <a name="Ogre_1_1PopupMenuGuiElementn55" doxytag="Ogre::GuiPressable::mSource"></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_1GuiElement.html">GuiElement</a>* Ogre::GuiPressable::mSource<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="OgreGuiPressable_8h-source.html#l00060">60</a> of file <a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a>. <p> Referenced by <a class="el" href="OgreGuiPressable_8cpp-source.html#l00073">fireActionPerformed</a>(), and <a class="el" href="OgreGuiPressable_8cpp-source.html#l00040">setSource</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreGuiPressable_8h-source.html">OgreGuiPressable.h</a><li><a class="el" href="OgreGuiPressable_8cpp-source.html">OgreGuiPressable.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:17:50 2004 </p> </body> </html>