ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Parameters for Event::OnKeyDown and Event::OnKeyUp
Public Attributes | |
Key | key |
Key code. | |
bool | consumed {false} |
set this to true if the event have been consumed and will not be passed to widgets & nodes below | |
Additional Inherited Members | |
![]() | |
static const string | OnCreate {"on_create"} |
called after widget creation (all widgets) | |
static const string | OnDestroy {"on_destroy"} |
called before widget destruction (all widgets) | |
static const string | OnKeyDown {"on_key_down"} |
called when the user press a key & the widget have the keyboard focus (all widgets) | |
static const string | OnKeyUp {"on_key_up"} |
called when the user press a key & the widget have the keyboard focus (all widgets) | |
static const string | OnMouseDown {"on_mouse_down"} |
the mouse button have been pressed above the widget or a child (all widgets) | |
static const string | OnMouseUp {"on_mouse_up"} |
the mouse button have been pressed above the widget or a child (all widgets) | |
static const string | OnMouseMove {"on_mouse_move"} |
the mouse have been moved above the widget (all widgets) | |
static const string | OnGotFocus {"on_got_focus"} |
widget acquire keyboard focus (all widgets) | |
static const string | OnLostFocus {"on_lost_focus"} |
widget lost keyboard focus (all widgets) | |
static const string | OnShow {"on_show"} |
called after visibility change (all widgets) | |
static const string | OnHide {"on_hide"} |
called before visibility change (all widgets) | |
static const string | OnEnable {"on_enable"} |
called after state change (all widgets) | |
static const string | OnDisable {"on_disable"} |
called after state change (all widgets) | |
static const string | OnTextChange {"on_text_change"} |
text content of the widget have changed | |
static const string | OnClick {"on_click"} |
called when the user click on the widget (buttons) | |
static const string | OnStateChange {"on_state_change"} |
a CheckWidget state changed | |
static const string | OnValueChange {"on_value_change"} |
value of a ValueSelect widget changed | |
static const string | OnRangeChange {"on_range_change"} |
value of a ValueSelect widget changed by the user More... | |
static const string | OnResize {"on_resize"} |
item list of a GList widget have changed More... | |
static const string | OnMove {"on_move"} |
a Window position changed | |