class mrpt::gui::mrptEventMouseMoveΒΆ

An event sent by a window when the mouse is moved over it.

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

#include <mrpt/gui/CBaseGUIWindow.h>

class mrptEventMouseMove: public mrpt::system::mrptEvent
{
public:
    //
fields

    CBaseGUIWindow* source_object;
    mrpt::img::TPixelCoord coords;
    bool leftButton;
    bool rightButton;

    // construction

    mrptEventMouseMove(
        CBaseGUIWindow* obj,
        mrpt::img::TPixelCoord _coords,
        bool _leftButton,
        bool _rightButton
        );
};