Class mrptEventMouseDown
Defined in File CBaseGUIWindow.h
Inheritance Relationships
Base Type
public mrpt::system::mrptEvent
Class Documentation
-
class mrptEventMouseDown : public mrpt::system::mrptEvent
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
Public Functions
-
inline mrptEventMouseDown(CBaseGUIWindow *obj, mrpt::img::TPixelCoord _coords, bool _leftButton, bool _rightButton)
Public Members
-
CBaseGUIWindow *source_object
-
mrpt::img::TPixelCoord coords
-
bool leftButton
-
bool rightButton
Protected Functions
-
inline void do_nothing() override
Just to allow this class to be polymorphic
-
inline mrptEventMouseDown(CBaseGUIWindow *obj, mrpt::img::TPixelCoord _coords, bool _leftButton, bool _rightButton)