#include <inputevent.h>
Public Types | |
enum | ESource : int8 { Mouse = 0, Touch = 1 } |
Public Member Functions | |
PointerEvent (int inX, int inY, int window, ESource origin) | |
![]() | |
WindowInputEvent (int window) | |
![]() | |
virtual | ~Event ()=default |
Event ()=default | |
Event (const Event &)=delete | |
Event & | operator= (const Event &)=delete |
Public Attributes | |
int | mX |
horizontal window coordinate More... | |
int | mY |
vertical window coordinate More... | |
ESource | mSource = ESource::Mouse |
input device More... | |
![]() | |
int | mWindow |
Window ID. More... | |
Contains all relevant information for pointer specific interaction Can also be used to signal multi touch gestures (therefore the id)
PointerEvent | ( | int | inX, |
int | inY, | ||
int | window, | ||
ESource | origin | ||
) |
ESource mSource = ESource::Mouse |
input device
int mX |
horizontal window coordinate
int mY |
vertical window coordinate