#include <inputevent.h>
Public Types | |
| enum | ESource : int8 { Mouse = 0, Touch = 1 } |
Public Member Functions | |
| PointerEvent (int inX, int inY, int window, ESource origin) | |
Public Member Functions inherited from WindowInputEvent | |
| WindowInputEvent (int window) | |
Public Member Functions inherited from Event | |
| 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... | |
Public Attributes inherited from WindowInputEvent | |
| 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