Main MRPT website > C++ reference
MRPT logo
List of all members | Public Member Functions | Public Attributes | Protected Member Functions
mrpt::gui::mrptEventMouseDown Class Reference

Detailed Description

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.

See also
mrptEventMouseDown

Definition at line 198 of file CBaseGUIWindow.h.

#include <mrpt/gui/CBaseGUIWindow.h>

Inheritance diagram for mrpt::gui::mrptEventMouseDown:
Inheritance graph
[legend]

Public Member Functions

 mrptEventMouseDown (CBaseGUIWindow *obj, mrpt::utils::TPixelCoord _coords, bool _leftButton, bool _rightButton)
 

Public Attributes

CBaseGUIWindowsource_object
 
mrpt::utils::TPixelCoord coords
 
bool leftButton
 
bool rightButton
 

Protected Member Functions

virtual void do_nothing ()
 Just to allow this class to be polymorphic. More...
 

Constructor & Destructor Documentation

mrpt::gui::mrptEventMouseDown::mrptEventMouseDown ( CBaseGUIWindow obj,
mrpt::utils::TPixelCoord  _coords,
bool  _leftButton,
bool  _rightButton 
)
inline

Definition at line 203 of file CBaseGUIWindow.h.

Member Function Documentation

virtual void mrpt::gui::mrptEventMouseDown::do_nothing ( )
inlineprotectedvirtual

Just to allow this class to be polymorphic.

Definition at line 201 of file CBaseGUIWindow.h.

Member Data Documentation

mrpt::utils::TPixelCoord mrpt::gui::mrptEventMouseDown::coords

Definition at line 212 of file CBaseGUIWindow.h.

bool mrpt::gui::mrptEventMouseDown::leftButton

Definition at line 213 of file CBaseGUIWindow.h.

bool mrpt::gui::mrptEventMouseDown::rightButton

Definition at line 214 of file CBaseGUIWindow.h.

CBaseGUIWindow* mrpt::gui::mrptEventMouseDown::source_object

Definition at line 211 of file CBaseGUIWindow.h.




Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014