|
C-Menu 0.2.9
A User Interface Toolkit
|
Structure representing an input event in the UI. More...
#include <ui_backend.h>
Data Fields | |
| bool | alt |
| uint32_t | ch |
| bool | ctrl |
| UiKey | key |
| UiMouseAction | mouse_action |
| bool | shift |
| int | x |
| int | y |
Structure representing an input event in the UI.
The UiEvent structure captures information about an input event that occurs in the UI. This includes key events, mouse events, and resize events. The structure contains fields for the key type (UiKey), the Unicode codepoint for character input, modifier keys (Alt, Ctrl, Shift), the position of the event (y, x), and the type of mouse action (UiMouseAction) if applicable. This comprehensive representation allows for detailed handling of user input events within the UI.
Definition at line 178 of file ui_backend.h.
| bool UiEvent::alt |
Definition at line 181 of file ui_backend.h.
| uint32_t UiEvent::ch |
Definition at line 180 of file ui_backend.h.
Referenced by ui_get_event().
| bool UiEvent::ctrl |
Definition at line 182 of file ui_backend.h.
| UiKey UiEvent::key |
Definition at line 179 of file ui_backend.h.
Referenced by ui_get_event().
| UiMouseAction UiEvent::mouse_action |
Definition at line 186 of file ui_backend.h.
Referenced by ui_get_event().
| bool UiEvent::shift |
Definition at line 183 of file ui_backend.h.
| int UiEvent::x |
Definition at line 185 of file ui_backend.h.
Referenced by ui_get_event().
| int UiEvent::y |
Definition at line 184 of file ui_backend.h.
Referenced by ui_get_event().