![]() |
GoldFish Engine
Quite simple and lightweight game engine
|
Type definitions related to GUI. More...
Go to the source code of this file.
Data Structures | |
struct | gf_gui_button_t |
Button component. More... | |
union | gf_gui_union_t |
Component union. More... | |
struct | gf_gui_component_t |
Component. More... | |
struct | gf_gui_t |
GUI. More... | |
Macros | |
#define | GF_GUI_MAX_COMPONENTS 64 |
Max components engine GUI can handle. | |
Typedefs | |
typedef int | gf_gui_id_t |
Component ID. | |
typedef void(* | gf_gui_callback_t) (gf_engine_t *engine, gf_draw_t *draw, gf_gui_id_t id, int type) |
Enumerations | |
enum | GF_GUI_EVENTS { GF_GUI_PRESS_EVENT = 0 } |
GUI events. More... | |
enum | GF_GUI_COMPONENT_TYPES { GF_GUI_UNUSED = -1 , GF_GUI_BUTTON } |
GUI component types. More... | |
Type definitions related to GUI.
Definition in file gui.h.
#define GF_GUI_MAX_COMPONENTS 64 |
typedef void(* gf_gui_callback_t) (gf_engine_t *engine, gf_draw_t *draw, gf_gui_id_t id, int type) |
typedef int gf_gui_id_t |
enum GF_GUI_EVENTS |