The standard UI system is responsible for managing standard ui elements throughout the engine. This is an example of a retained-mode UI.
More...
|
KAPI b8 | standard_ui_system_initialize (u64 *memory_requirement, standard_ui_state *state, standard_ui_system_config *config) |
| Initializes the standard UI system. Should be called twice; once to get the memory requirement (passing state=0), and a second time passing an allocated block of memory to actually initialize the system. More...
|
|
KAPI void | standard_ui_system_shutdown (standard_ui_state *state) |
| Shuts down the standard UI system. More...
|
|
KAPI b8 | standard_ui_system_update (standard_ui_state *state, struct frame_data *p_frame_data) |
|
KAPI void | standard_ui_system_render_prepare_frame (standard_ui_state *state, const struct frame_data *p_frame_data) |
|
KAPI b8 | standard_ui_system_render (standard_ui_state *state, sui_control *root, struct frame_data *p_frame_data, standard_ui_render_data *render_data) |
|
KAPI b8 | standard_ui_system_update_active (standard_ui_state *state, sui_control *control) |
|
KAPI b8 | standard_ui_system_register_control (standard_ui_state *state, sui_control *control) |
|
KAPI b8 | standard_ui_system_control_add_child (standard_ui_state *state, sui_control *parent, sui_control *child) |
|
KAPI b8 | standard_ui_system_control_remove_child (standard_ui_state *state, sui_control *parent, sui_control *child) |
|
KAPI void | standard_ui_system_focus_control (standard_ui_state *state, sui_control *control) |
|
KAPI b8 | sui_base_control_create (standard_ui_state *state, const char *name, struct sui_control *out_control) |
|
KAPI void | sui_base_control_destroy (standard_ui_state *state, struct sui_control *self) |
|
KAPI b8 | sui_base_control_load (standard_ui_state *state, struct sui_control *self) |
|
KAPI void | sui_base_control_unload (standard_ui_state *state, struct sui_control *self) |
|
KAPI b8 | sui_base_control_update (standard_ui_state *state, struct sui_control *self, struct frame_data *p_frame_data) |
|
KAPI b8 | sui_base_control_render (standard_ui_state *state, struct sui_control *self, struct frame_data *p_frame_data, standard_ui_render_data *render_data) |
|
KAPI void | sui_control_position_set (standard_ui_state *state, struct sui_control *self, vec3 position) |
| Sets the position on the given control. More...
|
|
KAPI vec3 | sui_control_position_get (standard_ui_state *state, struct sui_control *self) |
| Gets the position on the given control. More...
|
|
The standard UI system is responsible for managing standard ui elements throughout the engine. This is an example of a retained-mode UI.
- Author
- Travis Vroman (travi.nosp@m.s@ko.nosp@m.hieng.nosp@m.ine..nosp@m.com)
- Version
- 1.0
- Date
- 2023-09-21
- Copyright
- Kohi Game Engine is Copyright (c) Travis Vroman 2021-2024