9#ifndef ASW_MODULES_UI_EVENT_H
10#define ASW_MODULES_UI_EVENT_H
Event structure for UI interactions.
Type
Enumeration of UI event types.
asw::Vec2< float > pointer_pos
The pointer position.
asw::input::MouseButton mouse_button
The mouse button associated with the event.
std::string text
The text associated with a TextInput event.
int pointer_id
The pointer identifier.
asw::input::Key key
The key associated with the event.
Type type
The type of the event.
bool shift
Whether the shift key is held.