17 #ifndef _GAZEBO_MOUSEEVENT_PRIVATE_HH_
18 #define _GAZEBO_MOUSEEVENT_PRIVATE_HH_
20 #include <ignition/math/Vector2.hh>
40 public: ignition::math::Vector2i
pos;
49 public: ignition::math::Vector2i
scroll;
ignition::math::Vector2i scroll
Scroll position.
Definition: MouseEventPrivate.hh:49
Generic description of a mouse event.
Definition: MouseEvent.hh:35
MouseEventPrivate()
Constructor.
Definition: MouseEventPrivate.hh:32
bool alt
Alt key press flag.
Definition: MouseEventPrivate.hh:70
MouseButton
Standard mouse buttons enumeration.
Definition: MouseEvent.hh:38
unsigned int buttons
State of the buttons when the event was generated.
Definition: MouseEventPrivate.hh:64
EventType
Mouse event types enumeration.
Definition: MouseEvent.hh:54
MouseEvent::EventType type
Event type.
Definition: MouseEventPrivate.hh:58
ignition::math::Vector2i pos
Mouse pointer position on the screen.
Definition: MouseEventPrivate.hh:40
float moveScale
Scaling factor.
Definition: MouseEventPrivate.hh:52
bool dragging
Flag for mouse drag motion.
Definition: MouseEventPrivate.hh:55
MouseEvent::MouseButton button
The button which caused the event.
Definition: MouseEventPrivate.hh:61
ignition::math::Vector2i prevPos
Previous position.
Definition: MouseEventPrivate.hh:43
ignition::math::Vector2i pressPos
Position of button press.
Definition: MouseEventPrivate.hh:46
bool control
Control key press flag.
Definition: MouseEventPrivate.hh:73
Definition: MouseEventPrivate.hh:29
bool shift
Shift key press flag.
Definition: MouseEventPrivate.hh:67