Kohi Game Engine
sui_panel.h File Reference

Go to the source code of this file.

Data Structures

struct  sui_panel_internal_data
 

Typedefs

typedef struct sui_panel_internal_data sui_panel_internal_data
 

Functions

KAPI b8 sui_panel_control_create (standard_ui_state *state, const char *name, vec2 size, vec4 colour, struct sui_control *out_control)
 
KAPI void sui_panel_control_destroy (standard_ui_state *state, struct sui_control *self)
 
KAPI b8 sui_panel_control_load (standard_ui_state *state, struct sui_control *self)
 
KAPI void sui_panel_control_unload (standard_ui_state *state, struct sui_control *self)
 
KAPI b8 sui_panel_control_update (standard_ui_state *state, struct sui_control *self, struct frame_data *p_frame_data)
 
KAPI b8 sui_panel_control_render (standard_ui_state *state, struct sui_control *self, struct frame_data *p_frame_data, standard_ui_render_data *render_data)
 
KAPI vec2 sui_panel_size (standard_ui_state *state, struct sui_control *self)
 
KAPI b8 sui_panel_control_resize (standard_ui_state *state, struct sui_control *self, vec2 new_size)
 

Typedef Documentation

◆ sui_panel_internal_data

Function Documentation

◆ sui_panel_control_create()

KAPI b8 sui_panel_control_create ( standard_ui_state state,
const char *  name,
vec2  size,
vec4  colour,
struct sui_control out_control 
)

◆ sui_panel_control_destroy()

KAPI void sui_panel_control_destroy ( standard_ui_state state,
struct sui_control self 
)

◆ sui_panel_control_load()

KAPI b8 sui_panel_control_load ( standard_ui_state state,
struct sui_control self 
)

◆ sui_panel_control_render()

KAPI b8 sui_panel_control_render ( standard_ui_state state,
struct sui_control self,
struct frame_data p_frame_data,
standard_ui_render_data render_data 
)

◆ sui_panel_control_resize()

KAPI b8 sui_panel_control_resize ( standard_ui_state state,
struct sui_control self,
vec2  new_size 
)

◆ sui_panel_control_unload()

KAPI void sui_panel_control_unload ( standard_ui_state state,
struct sui_control self 
)

◆ sui_panel_control_update()

KAPI b8 sui_panel_control_update ( standard_ui_state state,
struct sui_control self,
struct frame_data p_frame_data 
)

◆ sui_panel_size()

KAPI vec2 sui_panel_size ( standard_ui_state state,
struct sui_control self 
)