Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::UIEvent Struct Reference

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
 

Detailed Description

A normalized data packet containing translated input data routed down the UI node tree.

Note
Generated exclusively by toUiEvent() from raw engine application hooks.
See also
toUiEvent, UIContext::handleEvent

Definition at line 51 of file ui-event.h.


The documentation for this struct was generated from the following file: