|
Jetson Inference
DNN Vision Library
|
Go to the documentation of this file.
23 #ifndef __GL_USER_EVENT_H__
24 #define __GL_USER_EVENT_H__
39 #define KEY_RELEASED 0
45 #define KEY_OFFSET 0xff00
52 #define MOUSE_PRESSED 1
59 #define MOUSE_RELEASED 0
73 #define MOUSE_MIDDLE 2
87 #define MOUSE_WHEEL_UP 4
94 #define MOUSE_WHEEL_DOWN 5
@ WIDGET_SELECTED
Message indicating that a widget has been selected (e.g.
Definition: glEvents.h:227
@ MOUSE_ABSOLUTE
Message when the mouse has moved (absolute coordinates)
Definition: glEvents.h:136
@ KEY_STATE
Message when a key state has changed (raw, without modifiers applied)
Definition: glEvents.h:184
@ KEY_MODIFIED
Message when a key has been pressed or released (with modifiers applied)
Definition: glEvents.h:197
@ WINDOW_RESIZED
Message indicating that the window has been resized.
Definition: glEvents.h:267
void glUnregisterEvents(glEventHandler callback, void *user=NULL)
Unregister an event message handler from being called with events.
@ WIDGET_RESIZED
Message from a widget indicating that it's been resized.
Definition: glEvents.h:259
@ MOUSE_BUTTON
Message when a mouse button has been pressed/released.
Definition: glEvents.h:152
@ MOUSE_WHEEL
Message when the mouse wheel has been scrolled a = -1 for scrolled up, or +1 for scrolled down.
Definition: glEvents.h:170
@ WIDGET_MOVED
Message from a widget indicating that it's been moved by the user.
Definition: glEvents.h:243
bool(* glEventHandler)(uint16_t event, int a, int b, void *user)
Event message handler callback for recieving UI messages from a window.
Definition: glEvents.h:291
void glRegisterEvents(glEventHandler callback, void *user=NULL, uint32_t display=0)
Register an event message handler that will be called with events.
@ WINDOW_CLOSED
Message indicating that the window is closing.
Definition: glEvents.h:273
glEventType
User interface event message types.
Definition: glEvents.h:112
@ MOUSE_DRAG
Message when the left mouse button has been dragged.
Definition: glEvents.h:164
@ KEY_CHAR
Message when a keyboard ASCII character (0-255) was entered.
Definition: glEvents.h:207
@ MOUSE_MOVE
Message when the mouse has moved (relative coordinates)
Definition: glEvents.h:124
@ WIDGET_CREATED
Message indicating that a widget has been created (e.g.
Definition: glEvents.h:217