TDME2 1.9.121
|
#include <tdme/gui/events/GUIMouseEvent.h>
Public Types | |
enum | GUIMouseEventType { MOUSEEVENT_NONE , MOUSEEVENT_WHEEL_MOVED , MOUSEEVENT_PRESSED , MOUSEEVENT_RELEASED , MOUSEEVENT_MOVED , MOUSEEVENT_DRAGGED } |
Public Member Functions | |
~GUIMouseEvent () | |
Destructor. More... | |
int64_t | getTime () |
void | setTime (int64_t time) |
Set time. More... | |
GUIMouseEventType | getType () |
void | setType (GUIMouseEventType type) |
Set type. More... | |
int | getXUnscaled () |
void | setXUnscaled (int xUnscaled) |
Set x unscaled. More... | |
int | getYUnscaled () |
void | setYUnscaled (int yUnscaled) |
Set y unscaled. More... | |
int | getX () |
void | setX (int x) |
Set x. More... | |
int | getY () |
void | setY (int y) |
Set y. More... | |
int | getButton () |
void | setButton (int button) |
Set button. More... | |
float | getWheelX () |
void | setWheelX (float wheelX) |
Set up wheel x. More... | |
float | getWheelY () |
void | setWheelY (float wheelY) |
Set up wheel y. More... | |
float | getWheelZ () |
void | setWheelZ (float wheelZ) |
Set up wheel z. More... | |
bool | isMetaDown () |
void | setMetaDown (bool metaDown) |
Set meta down. More... | |
bool | isControlDown () |
void | setControlDown (bool controlDown) |
Set control down. More... | |
bool | isAltDown () |
void | setAltDown (bool altDown) |
Set alt down. More... | |
bool | isShiftDown () |
void | setShiftDown (bool shiftDown) |
Set shift down. More... | |
bool | isProcessed () |
void | setProcessed (bool processed) |
Set processed. More... | |
GUIMouseEvent () | |
Public constructor. More... | |
Private Attributes | |
int64_t | time |
GUIMouseEventType | type { MOUSEEVENT_NONE } |
int | xUnscaled |
int | yUnscaled |
int | x |
int | y |
int | button |
float | wheelX |
float | wheelY |
float | wheelZ |
bool | metaDown |
bool | controlDown |
bool | altDown |
bool | shiftDown |
bool | processed |
enum GUIMouseEventType |
Enumerator | |
---|---|
MOUSEEVENT_NONE | |
MOUSEEVENT_WHEEL_MOVED | |
MOUSEEVENT_PRESSED | |
MOUSEEVENT_RELEASED | |
MOUSEEVENT_MOVED | |
MOUSEEVENT_DRAGGED |
Definition at line 15 of file GUIMouseEvent.h.
~GUIMouseEvent | ( | ) |
Destructor.
Definition at line 25 of file GUIMouseEvent.cpp.
GUIMouseEvent | ( | ) |
Public constructor.
Definition at line 6 of file GUIMouseEvent.cpp.
|
inline |
Definition at line 140 of file GUIMouseEvent.h.
|
inline |
Definition at line 50 of file GUIMouseEvent.h.
|
inline |
Definition at line 65 of file GUIMouseEvent.h.
|
inline |
Definition at line 155 of file GUIMouseEvent.h.
|
inline |
Definition at line 170 of file GUIMouseEvent.h.
|
inline |
Definition at line 185 of file GUIMouseEvent.h.
|
inline |
Definition at line 110 of file GUIMouseEvent.h.
|
inline |
Definition at line 80 of file GUIMouseEvent.h.
|
inline |
Definition at line 125 of file GUIMouseEvent.h.
|
inline |
Definition at line 95 of file GUIMouseEvent.h.
|
inline |
Definition at line 230 of file GUIMouseEvent.h.
|
inline |
Definition at line 215 of file GUIMouseEvent.h.
|
inline |
Definition at line 200 of file GUIMouseEvent.h.
|
inline |
Definition at line 260 of file GUIMouseEvent.h.
|
inline |
Definition at line 245 of file GUIMouseEvent.h.
|
inline |
|
inline |
|
inline |
Set control down.
controlDown | control down |
Definition at line 223 of file GUIMouseEvent.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 37 of file GUIMouseEvent.h.
|
private |
Definition at line 31 of file GUIMouseEvent.h.
|
private |
Definition at line 36 of file GUIMouseEvent.h.
|
private |
Definition at line 35 of file GUIMouseEvent.h.
|
private |
Definition at line 39 of file GUIMouseEvent.h.
|
private |
Definition at line 38 of file GUIMouseEvent.h.
|
private |
Definition at line 25 of file GUIMouseEvent.h.
|
private |
Definition at line 26 of file GUIMouseEvent.h.
|
private |
Definition at line 32 of file GUIMouseEvent.h.
|
private |
Definition at line 33 of file GUIMouseEvent.h.
|
private |
Definition at line 34 of file GUIMouseEvent.h.
|
private |
Definition at line 29 of file GUIMouseEvent.h.
|
private |
Definition at line 27 of file GUIMouseEvent.h.
|
private |
Definition at line 30 of file GUIMouseEvent.h.
|
private |
Definition at line 28 of file GUIMouseEvent.h.