Recognized event types. More...
Enumerations | |
| enum | t { Null = 0, Quit, WindowCreate, WindowDestroy, WindowResize, FocusGained, FocusLost, MouseDown, MouseUp, MouseMove, MouseDrag, MouseWheel, KeyDown, KeyUp, KeyRepeat, Unused, NumTypes } |
Event type enum. More... | |
Functions | |
| const char * | toString (const Event::t e) |
| Returns a string of event type. | |
Recognized event types.
| enum glv::Event::t |
Event type enum.
| Null |
No event |
| Quit |
Application quit |
| WindowCreate |
Sent by window upon creation to its attached GLV |
| WindowDestroy |
Sent by window upon destruction to its attached GLV |
| WindowResize |
Sent by window upon resize to its attached GLV |
| FocusGained |
View got focus |
| FocusLost |
View lost focus |
| MouseDown |
Mouse button pressed |
| MouseUp |
Mouse button released |
| MouseMove |
Mouse has moved |
| MouseDrag |
Mouse has moved with a button pressed |
| MouseWheel |
Mouse wheel moved |
| KeyDown |
Keyboard key pressed |
| KeyUp |
Keyboard key released |
| KeyRepeat |
Keyboard key auto-repeated |
| Unused |
Add to this for runtime event types |
| NumTypes |
Number of event types |
1.7.1