Generic mouse event representing a change in mouse state.
Definition MouseEvent.h:18
Button
The various mouse button types.
Definition MouseEvent.h:43
@ kButton_Left
Definition MouseEvent.h:45
@ kButton_Middle
Definition MouseEvent.h:46
@ kButton_None
Definition MouseEvent.h:44
@ kButton_Right
Definition MouseEvent.h:47
Type
The various MouseEvent types.
Definition MouseEvent.h:23
@ kType_MouseDown
Mouse button pressed type.
Definition MouseEvent.h:32
@ kType_MouseUp
Mouse button released type.
Definition MouseEvent.h:37
@ kType_MouseMoved
Mouse moved type.
Definition MouseEvent.h:27
Button button
The mouse button that was pressed/released, if any.
Definition MouseEvent.h:68
int y
The current y-position of the mouse, relative to the View.
Definition MouseEvent.h:63
Type type
The type of this MouseEvent.
Definition MouseEvent.h:53
int x
The current x-position of the mouse, relative to the View.
Definition MouseEvent.h:58