libGLV
0.4.0
|
The GLViewEvent struct is passed to the event handler callback. More...
#include <glv.h>
Data Fields | |
int | type |
int | code |
int | state |
int | x |
int | y |
The GLViewEvent struct is passed to the event handler callback.
int GLViewEvent::code |
Key code for GLV_EVENT_KEY_DOWN/GLV_EVENT_KEY_UP events.
int GLViewEvent::state |
Bit mask of key & button modifiers.
int GLViewEvent::type |
Type of event.
Referenced by glv_changeMode(), and glv_handleEvents().
int GLViewEvent::x |
Mouse pointer X position. Width for GLV_EVENT_RESIZE events.
int GLViewEvent::y |
Mouse pointer Y position. Height for GLV_EVENT_RESIZE events.