|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
A normalized data packet containing translated input data routed down the UI node tree. More...
#include <flint/ui/ui-event.h>
Collaboration diagram for Flint::UIEvent:Public Attributes | |
| UIEventType | type = UIEventType::None |
| UIInputSource | source = UIInputSource::Unknown |
| Vec2f | mousePosition {} |
| int | mouseButton = 0 |
| SDL_Keycode | keycode |
A normalized data packet containing translated input data routed down the UI node tree.
Definition at line 51 of file ui-event.h.
| SDL_Keycode Flint::UIEvent::keycode |
SDL key identifier code for keyboard stroke events.
Definition at line 57 of file ui-event.h.
| int Flint::UIEvent::mouseButton = 0 |
SDL index code of the active mouse button (if applicable).
Definition at line 56 of file ui-event.h.
| Vec2f Flint::UIEvent::mousePosition {} |
Screen-space pixel coordinates of the cursor during the event.
Definition at line 55 of file ui-event.h.
| UIInputSource Flint::UIEvent::source = UIInputSource::Unknown |
The physical hardware origin device.
Definition at line 53 of file ui-event.h.
| UIEventType Flint::UIEvent::type = UIEventType::None |
The functional intent of the event.
Definition at line 52 of file ui-event.h.