GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
gf_gui_component_t Struct Reference

Component. More...

#include <gf_type/gui.h>

Data Fields

int type
 Component type.
 
double x
 X coord of component.
 
double y
 X coord of component.
 
double width
 Width of component.
 
double height
 Height of component.
 
int pressed
 1 if pressed, otherwise 0
 
gf_gui_callback_t callback
 Event callback.
 
gf_gui_union_t u
 Component union.
 

Detailed Description

Component.

Definition at line 120 of file gui.h.

Field Documentation

◆ callback

gf_gui_component_t::callback

Event callback.

Definition at line 120 of file gui.h.

◆ height

gf_gui_component_t::height

Height of component.

Definition at line 120 of file gui.h.

◆ pressed

gf_gui_component_t::pressed

1 if pressed, otherwise 0

Definition at line 120 of file gui.h.

◆ type

gf_gui_component_t::type

Component type.

See also
GF_GUI_COMPONENT_TYPES

Definition at line 120 of file gui.h.

◆ u

gf_gui_component_t::u

Component union.

Definition at line 120 of file gui.h.

◆ width

gf_gui_component_t::width

Width of component.

Definition at line 120 of file gui.h.

◆ x

gf_gui_component_t::x

X coord of component.

Definition at line 120 of file gui.h.

◆ y

gf_gui_component_t::y

X coord of component.

Definition at line 120 of file gui.h.


The documentation for this struct was generated from the following file: