#include <inputevent.h>
Public Types | |
| enum | EButton : int8 { UNKNOWN = -1, LEFT = 0, RIGHT = 1, MIDDLE = 2 } |
Public Types inherited from PointerEvent | |
| enum | ESource : int8 { Mouse = 0, Touch = 1 } |
Public Member Functions | |
| PointerClickEvent (int inX, int inY, EButton inButton, int window, ESource source) | |
Public Member Functions inherited from PointerEvent | |
| 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 | |
| EButton | mButton |
| clicked mouse button More... | |
Public Attributes inherited from PointerEvent | |
| 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... | |
Base class for all click related pointer events
| PointerClickEvent | ( | int | inX, |
| int | inY, | ||
| EButton | inButton, | ||
| int | window, | ||
| ESource | source | ||
| ) |
| EButton mButton |
clicked mouse button