Event information structure. More...
#include <UI_interface.h>
Public Types | |
| enum | EVENT_TYPE { KEYBOARD, CURSOR, MOUSE, SCROLL, DRAG, RESIZE, DRAW } |
| Event type. More... | |
Public Attributes | |
| EVENT_TYPE | type |
| Event type. | |
| int | button {0} |
| Button type. | |
| int | key {0} |
| Key type. | |
| int | action {0} |
| Action type. | |
| int | mods {0} |
| Modifier information. | |
| int | width {0} |
| Width. | |
| int | height {0} |
| Height. | |
| double | x {0.0} |
| X coordinate value. | |
| double | y {0.0} |
| Y coordinate value. | |
| double | z {0.0} |
| Z coordinate value. | |
| double | u {0.0} |
| X coordinate displacement value. | |
| double | v {0.0} |
| Y coordinate displacement value. | |
| double | w {0.0} |
| Z coordinate displacement value. | |
| graphics_engine * | g {nullptr} |
| Pointer to the graphics engine. | |
Event information structure.