An event sent by a window upon a mouse click, giving the (x,y) pixel coordinates.
IMPORTANTE NOTICE: Event handlers in your observer class will be invoked from the wxWidgets internal MRPT thread, so all your code in the handler must be thread safe.
Definition at line 204 of file CBaseGUIWindow.h.
#include <mrpt/gui/CBaseGUIWindow.h>
Public Member Functions | |
mrptEventMouseDown (CBaseGUIWindow *obj, mrpt::utils::TPixelCoord _coords, bool _leftButton, bool _rightButton) | |
Public Attributes | |
CBaseGUIWindow * | source_object |
mrpt::utils::TPixelCoord | coords |
bool | leftButton |
bool | rightButton |
Protected Member Functions | |
virtual void | do_nothing () |
Just to allow this class to be polymorphic. |
mrpt::gui::mrptEventMouseDown::mrptEventMouseDown | ( | CBaseGUIWindow * | obj, |
mrpt::utils::TPixelCoord | _coords, | ||
bool | _leftButton, | ||
bool | _rightButton | ||
) | [inline] |
Definition at line 209 of file CBaseGUIWindow.h.
virtual void mrpt::gui::mrptEventMouseDown::do_nothing | ( | ) | [inline, protected, virtual] |
Just to allow this class to be polymorphic.
Reimplemented from mrpt::utils::mrptEvent.
Definition at line 207 of file CBaseGUIWindow.h.
Definition at line 218 of file CBaseGUIWindow.h.
Definition at line 219 of file CBaseGUIWindow.h.
Definition at line 220 of file CBaseGUIWindow.h.
Definition at line 217 of file CBaseGUIWindow.h.
Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011 |