GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
gui.h File Reference

Type definitions related to GUI. More...

#include <gf_pre.h>
#include <gf_macro.h>
#include <gf_type/draw.h>
#include <gf_type/core.h>

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.
 

Enumerations

enum  GF_GUI_COMPONENT_TYPES { GF_GUI_UNUSED = -1 , GF_GUI_BUTTON }
 GUI component types. More...
 

Detailed Description

Type definitions related to GUI.

Definition in file gui.h.

Macro Definition Documentation

◆ GF_GUI_MAX_COMPONENTS

#define GF_GUI_MAX_COMPONENTS   64

Max components engine GUI can handle.

Definition at line 32 of file gui.h.

Typedef Documentation

◆ gf_gui_id_t

typedef int gf_gui_id_t

Component ID.

Definition at line 17 of file gui.h.

Enumeration Type Documentation

◆ GF_GUI_COMPONENT_TYPES

GUI component types.

Definition at line 38 of file gui.h.