26#define GF_GUI_NORMAL 1
32#define GF_GUI_INVERT -1
38#define GF_GUI_FONT_SIZE 32
Type definitions related to core.
Type definitions related to drawing interface.
gf_gui_component_t * gf_gui_first_unused(gf_gui_t *gui, gf_gui_id_t *id)
Get first unused component entry.
void gf_gui_render(gf_gui_t *gui)
Render GUI.
void gf_gui_draw_box(gf_gui_t *gui, int mul, double x, double y, double w, double h)
Render box.
gf_gui_t * gf_gui_create(gf_engine_t *engine, gf_draw_t *draw)
Create GUI.
gf_gui_id_t gf_gui_create_button(gf_gui_t *gui, double x, double y, double w, double h, const char *text)
Create button component.
void gf_gui_set_callback(gf_gui_t *gui, gf_gui_id_t id, gf_gui_callback_t callback)
Set callback.
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Required headers before anything.
Type definitions related to GUI.
int gf_gui_id_t
Component ID.