class mrpt::gui::mrptEventMouseDownΒΆ
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:
#include <mrpt/gui/CBaseGUIWindow.h> class mrptEventMouseDown: public mrpt::system::mrptEvent { public: // fields CBaseGUIWindow* source_object; mrpt::img::TPixelCoord coords; bool leftButton; bool rightButton; // construction mrptEventMouseDown( CBaseGUIWindow* obj, mrpt::img::TPixelCoord _coords, bool _leftButton, bool _rightButton ); };