+- callback : gf_gui_component_t
- camera : gf_draw_t
- client : gf_engine_t
- close : gf_draw_t
diff --git a/engine/gf__draw_8h.html b/engine/gf__draw_8h.html
index 795b558..06d22a9 100644
--- a/engine/gf__draw_8h.html
+++ b/engine/gf__draw_8h.html
@@ -250,7 +250,7 @@ Functions
-Definition at line 122 of file gf_draw_common.c.
+Definition at line 130 of file gf_draw_common.c.
@@ -316,7 +316,7 @@ Functions
-Definition at line 85 of file gf_draw_common.c.
+Definition at line 91 of file gf_draw_common.c.
@@ -399,7 +399,7 @@ Functions
-Definition at line 129 of file gf_draw_common.c.
+Definition at line 137 of file gf_draw_common.c.
@@ -436,7 +436,7 @@ Functions
- Returns
0
if successful, otherwise if failed
-Definition at line 114 of file gf_draw_common.c.
+Definition at line 122 of file gf_draw_common.c.
diff --git a/engine/gf__draw_8h_source.html b/engine/gf__draw_8h_source.html
index 85c243f..391e969 100644
--- a/engine/gf__draw_8h_source.html
+++ b/engine/gf__draw_8h_source.html
@@ -136,10 +136,10 @@ $(document).ready(function(){initNavTree('gf__draw_8h_source.html',''); initResi
Type definitions related to drawing interface.
void gf_draw_end(void)
Cleanup drawing stuffs.
void gf_draw_begin(void)
Initialize drawing stuffs.
-int gf_draw_step(gf_draw_t *draw)
Do drawing single step.
-void gf_draw_frame(gf_draw_t *draw)
Draw frame (common part)
-void gf_draw_set_input(gf_draw_t *draw, gf_input_t *input)
Set input interface.
-void gf_draw_destroy(gf_draw_t *draw)
Destroy drawing interface.
+int gf_draw_step(gf_draw_t *draw)
Do drawing single step.
+void gf_draw_frame(gf_draw_t *draw)
Draw frame (common part)
+void gf_draw_set_input(gf_draw_t *draw, gf_input_t *input)
Set input interface.
+void gf_draw_destroy(gf_draw_t *draw)
Destroy drawing interface.
void gf_draw_reshape(gf_draw_t *draw)
Do stuffs required on resizing window.
gf_draw_t * gf_draw_create(gf_engine_t *engine, const char *title)
Create drawing interface.
diff --git a/engine/gf__draw__common_8c_source.html b/engine/gf__draw__common_8c_source.html
index 0b5c32f..9f5e002 100644
--- a/engine/gf__draw__common_8c_source.html
+++ b/engine/gf__draw__common_8c_source.html
@@ -184,58 +184,66 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
-
-
-
-
-
87 color.
r = color.
g = color.
b = color.
a = 255;
-
-
89 button1 = gf_gui_create_button(draw->
gui, 0, 0, 200, 50,
"\"Test\" text");
-
-
-
92 button2 = gf_gui_create_button(draw->
gui, 100, 25, 200, 50,
"\"Test\" text");
-
-
-
95 gf_graphic_draw_texture_polygon(draw, test_texture, color,
GF_GRAPHIC_3D, 4,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
111 gf_gui_render(draw->
gui);
-
-
+
+ 85 if(type == GF_GUI_PRESS) {
+
+
+
+
+
+
+
+
+
93 color.
r = color.
g = color.
b = color.
a = 255;
+
+
95 button1 = gf_gui_create_button(draw->
gui, 0, 0, 200, 50,
"\"Test\" text");
+
96 gf_gui_set_callback(draw->
gui, button1, gf_button_callback);
+
+
+
99 button2 = gf_gui_create_button(draw->
gui, 100, 25, 200, 50,
"\"Test\" text");
+
100 gf_gui_set_callback(draw->
gui, button2, gf_button_callback);
+
+
+
103 gf_graphic_draw_texture_polygon(draw, test_texture, color,
GF_GRAPHIC_3D, 4,
+
+
+
+
+
+
+
+
+
-
-
-
115 int ret = gf_draw_platform_step(draw);
-
116 if(ret != 0)
return ret;
-
-
-
+
+
+
+
+
+
119 gf_gui_render(draw->
gui);
-
-
123 if(draw->
driver != NULL) gf_draw_driver_destroy(draw->
driver);
-
-
-
-
+
+
123 int ret = gf_draw_platform_step(draw);
+
124 if(ret != 0)
return ret;
+
+
+
+
-
-
+
+
+
+
131 if(draw->
driver != NULL) gf_draw_driver_destroy(draw->
driver);
+
+
+
+
+
+
+
diff --git a/engine/gf__gui_8c_source.html b/engine/gf__gui_8c_source.html
index 47cbda4..e86bc82 100644
--- a/engine/gf__gui_8c_source.html
+++ b/engine/gf__gui_8c_source.html
@@ -192,57 +192,63 @@ $(document).ready(function(){initNavTree('gf__gui_8c_source.html',''); initResiz
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
100 double cw = c->
width;
-
-
-
103 case GF_GUI_BUTTON: {
-
-
-
106 }
else if(gui->
pressed == -1) {
-
-
-
-
-
-
-
-
-
-
-
117 double cw = c->
width;
-
-
-
120 case GF_GUI_BUTTON: {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
102 double cw = c->
width;
+
+
+
105 case GF_GUI_BUTTON: {
+
+
+
108 }
else if(gui->
pressed == -1) {
+
+
+
+
+
+
+
+
+
+
+
119 double cw = c->
width;
+
+
+
122 case GF_GUI_BUTTON: {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#define GF_SET_COLOR(color, red, green, blue, alpha)
Macro to set color safely and shorter.
@@ -252,10 +258,9 @@ $(document).ready(function(){initNavTree('gf__gui_8c_source.html',''); initResiz
#define GF_GUI_FONT_SIZE
Default GUI font size.
#define GF_GUI_NORMAL
Draw border normally.
-
#define gf_log_function(engine, fmt,...)
Output log with line number and function name.
Required headers before anything.
int gf_gui_id_t
Component ID.
-
#define GF_GUI_MAX_COMPONENTS
Max components engine GUI can handle.
+
#define GF_GUI_MAX_COMPONENTS
Max components engine GUI can handle.
gf_input_t * input
Input interface.
@@ -264,25 +269,26 @@ $(document).ready(function(){initNavTree('gf__gui_8c_source.html',''); initResiz
-
-
-
int pressed
1 if pressed, otherwise 0
-
double y
X coord of component.
-
double width
Width of component.
-
double height
Height of component.
-
gf_gui_union_t u
Component union.
-
-
double x
X coord of component.
-
-
gf_gui_id_t pressed
1 if something is being pressed, otherwise 0
-
gf_engine_t * engine
Engine instance.
-
gf_draw_t * draw
Drawing interface.
-
gf_gui_component_t area[64]
Created components.
+
+
+
int pressed
1 if pressed, otherwise 0
+
double y
X coord of component.
+
double width
Width of component.
+
double height
Height of component.
+
gf_gui_callback_t callback
Event callback.
+
gf_gui_union_t u
Component union.
+
+
double x
X coord of component.
+
+
gf_gui_id_t pressed
1 if something is being pressed, otherwise 0
+
gf_engine_t * engine
Engine instance.
+
gf_draw_t * draw
Drawing interface.
+
gf_gui_component_t area[64]
Created components.
-
gf_gui_button_t button
Button component.
+
gf_gui_button_t button
Button component.
diff --git a/engine/gf__gui_8h.html b/engine/gf__gui_8h.html
index 638f789..c0e1a48 100644
--- a/engine/gf__gui_8h.html
+++ b/engine/gf__gui_8h.html
@@ -137,6 +137,9 @@ Functions
void | gf_gui_draw_box (gf_gui_t *gui, int mul, double x, double y, double w, double h) |
| Render box.
|
|
+void | gf_gui_set_callback (gf_gui_t *gui, gf_gui_id_t id, gf_gui_callback_t callback) |
+ | Set callback.
|
+ |
GUI.
@@ -403,6 +406,9 @@ Functions
Get first unused component entry.
@@ -470,7 +481,61 @@ Functions
-
Definition at line 93 of file gf_gui.c.
+
Definition at line 95 of file gf_gui.c.
+
+
+
+
+
◆ gf_gui_set_callback()
+
+
+
+
+
+
+
+
+ void gf_gui_set_callback |
+ ( |
+ gf_gui_t * |
+ gui, |
+
+
+ |
+ |
+ gf_gui_id_t |
+ id, |
+
+
+ |
+ |
+ gf_gui_callback_t |
+ callback |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+extern |
+
+
+
+
+
Set callback.
+
- Parameters
-
+
+ gui | GUI |
+ id | Component ID |
+ callback | Callback |
+
+
+
+
+
Definition at line 140 of file gf_gui.c.
diff --git a/engine/gf__gui_8h.js b/engine/gf__gui_8h.js
index 42a59bd..b8d28ba 100644
--- a/engine/gf__gui_8h.js
+++ b/engine/gf__gui_8h.js
@@ -7,5 +7,6 @@ var gf__gui_8h =
[ "gf_gui_create_button", "gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e", null ],
[ "gf_gui_draw_box", "gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499", null ],
[ "gf_gui_first_unused", "gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5", null ],
- [ "gf_gui_render", "gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c", null ]
+ [ "gf_gui_render", "gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c", null ],
+ [ "gf_gui_set_callback", "gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78", null ]
];
\ No newline at end of file
diff --git a/engine/gf__gui_8h_source.html b/engine/gf__gui_8h_source.html
index bc77ec4..dfaa635 100644
--- a/engine/gf__gui_8h_source.html
+++ b/engine/gf__gui_8h_source.html
@@ -127,18 +127,21 @@ $(document).ready(function(){initNavTree('gf__gui_8h_source.html',''); initResiz
-
+
-
+
+
+
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_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.
@@ -146,8 +149,8 @@ $(document).ready(function(){initNavTree('gf__gui_8h_source.html',''); initResiz
int gf_gui_id_t
Component ID.
-
-
+
+
diff --git a/engine/globals.html b/engine/globals.html
index 67c60f8..d8d2775 100644
--- a/engine/globals.html
+++ b/engine/globals.html
@@ -172,6 +172,7 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
- gf_gui_create() : gf_gui.h
- gf_gui_create_button() : gf_gui.h
- gf_gui_draw_box() : gf_gui.h
+- GF_GUI_EVENTS : gui.h
- gf_gui_first_unused() : gf_gui.h
- GF_GUI_FONT_SIZE : gf_gui.h
- gf_gui_id_t : gui.h
@@ -179,6 +180,7 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
- GF_GUI_MAX_COMPONENTS : gui.h
- GF_GUI_NORMAL : gf_gui.h
- gf_gui_render() : gf_gui.h
+- gf_gui_set_callback() : gf_gui.h
- gf_input_create() : gf_input.h
- gf_input_destroy() : gf_input.h
- GF_INPUT_MOUSE_LEFT_MASK : input.h
diff --git a/engine/globals_enum.html b/engine/globals_enum.html
index 48454ae..e8b245b 100644
--- a/engine/globals_enum.html
+++ b/engine/globals_enum.html
@@ -93,6 +93,7 @@ $(document).ready(function(){initNavTree('globals_enum.html',''); initResizable(
Here is a list of all documented enums with links to the documentation:
- GF_GUI_COMPONENT_TYPES : gui.h
+- GF_GUI_EVENTS : gui.h
diff --git a/engine/globals_func.html b/engine/globals_func.html
index 0be8a31..559078a 100644
--- a/engine/globals_func.html
+++ b/engine/globals_func.html
@@ -147,6 +147,7 @@ $(document).ready(function(){initNavTree('globals_func.html',''); initResizable(
- gf_gui_draw_box() : gf_gui.h
- gf_gui_first_unused() : gf_gui.h
- gf_gui_render() : gf_gui.h
+- gf_gui_set_callback() : gf_gui.h
- gf_input_create() : gf_input.h
- gf_input_destroy() : gf_input.h
- gf_log() : gf_log.h
diff --git a/engine/gui_8h.html b/engine/gui_8h.html
index 4397c94..55232b4 100644
--- a/engine/gui_8h.html
+++ b/engine/gui_8h.html
@@ -135,9 +135,15 @@ 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) |
+ |
|
+enum | GF_GUI_EVENTS { GF_GUI_PRESS = 0
+ } |
+ | GUI events. More...
|
+ |
enum | GF_GUI_COMPONENT_TYPES { GF_GUI_UNUSED = -1
, GF_GUI_BUTTON
} |
@@ -163,11 +169,27 @@ Enumerations
Max components engine GUI can handle.
-Definition at line 38 of file gui.h.
+Definition at line 48 of file gui.h.
+
+◆ gf_gui_callback_t
+
+
+
+
+
Definition at line 42 of file gui.h.
+
+
+
◆ gf_gui_id_t
@@ -201,7 +223,25 @@ Enumerations
GUI component types.
-Definition at line 44 of file gui.h.
+Definition at line 54 of file gui.h.
+
+
+
+
+◆ GF_GUI_EVENTS
+
+
+
+
+
GUI events.
+
+
Definition at line 23 of file gui.h.
diff --git a/engine/gui_8h.js b/engine/gui_8h.js
index 6059a6b..696ba0e 100644
--- a/engine/gui_8h.js
+++ b/engine/gui_8h.js
@@ -9,5 +9,8 @@ var gui_8h =
[ "GF_GUI_COMPONENT_TYPES", "gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03", [
[ "GF_GUI_UNUSED", "gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03a02e89edb176ccf6cc55d046a7efc475d", null ],
[ "GF_GUI_BUTTON", "gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03abe97ebf4d732f18bdd92c2125af7345a", null ]
+ ] ],
+ [ "GF_GUI_EVENTS", "gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82", [
+ [ "GF_GUI_PRESS", "gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82a9ad910ea0a701f59b81523f0630782f5", null ]
] ]
];
\ No newline at end of file
diff --git a/engine/gui_8h_source.html b/engine/gui_8h_source.html
index 4c11644..2f3b605 100644
--- a/engine/gui_8h_source.html
+++ b/engine/gui_8h_source.html
@@ -108,79 +108,91 @@ $(document).ready(function(){initNavTree('gui_8h_source.html',''); initResizable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
- 38#define GF_GUI_MAX_COMPONENTS 64
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
48#define GF_GUI_MAX_COMPONENTS 64
+
+
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
118 gf_gui_callback_t callback;
+
+
+
+
+
+
+
+
+
+
+
146typedef void* gf_gui_callback_t;
+
+
+
+
+
+
+
+
+
Type definitions related to core.
Type definitions related to drawing interface.
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Required headers before anything.
int gf_gui_id_t
Component ID.
-
GF_GUI_COMPONENT_TYPES
GUI component types.
-
#define GF_GUI_MAX_COMPONENTS
Max components engine GUI can handle.
+
GF_GUI_COMPONENT_TYPES
GUI component types.
+
#define GF_GUI_MAX_COMPONENTS
Max components engine GUI can handle.
+
-
-
-
-
-
-
gf_gui_button_t button
Button component.
+
+
+
+
+
+
gf_gui_button_t button
Button component.
diff --git a/engine/navtreedata.js b/engine/navtreedata.js
index deee948..5c60f1f 100644
--- a/engine/navtreedata.js
+++ b/engine/navtreedata.js
@@ -50,7 +50,7 @@ var NAVTREE =
var NAVTREEINDEX =
[
"annotated.html",
-"structgf__draw__t.html#a0d6e7e3f8f4e72bbfc4208db6b0a4e28"
+"structgf__draw__driver__texture__t.html"
];
var SYNCONMSG = 'click to disable panel synchronisation';
diff --git a/engine/navtreeindex0.js b/engine/navtreeindex0.js
index 3b1dfd4..a76cd72 100644
--- a/engine/navtreeindex0.js
+++ b/engine/navtreeindex0.js
@@ -115,6 +115,7 @@ var NAVTREEINDEX0 =
"gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499":[2,0,1,9,5],
"gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1":[2,0,1,9,3],
"gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e":[2,0,1,9,4],
+"gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78":[2,0,1,9,8],
"gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46":[2,0,1,9,2],
"gf__gui_8h_source.html":[2,0,1,9],
"gf__input_8c_source.html":[2,0,9],
@@ -216,6 +217,8 @@ var NAVTREEINDEX0 =
"gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03a02e89edb176ccf6cc55d046a7efc475d":[2,0,1,0,8,6,0],
"gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03abe97ebf4d732f18bdd92c2125af7345a":[2,0,1,0,8,6,1],
"gui_8h.html#a33770d9046d53ad607fcc938f1619eb8":[2,0,1,0,8,4],
+"gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82":[2,0,1,0,8,7],
+"gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82a9ad910ea0a701f59b81523f0630782f5":[2,0,1,0,8,7,0],
"gui_8h_source.html":[2,0,1,0,8],
"index.html":[],
"index.html#autotoc_md1":[0],
@@ -246,8 +249,5 @@ var NAVTREEINDEX0 =
"structgf__client__t.html#a363cb3993e177565b9e22c9df5d5ce2c":[1,0,0,0],
"structgf__client__t.html#acf54abb33068b43e361e9734cf3d20ad":[1,0,0,2],
"structgf__client__t.html#af44ab851509a6119df42954b209b7c0d":[1,0,0,1],
-"structgf__draw__driver__t.html":[1,0,1],
-"structgf__draw__driver__texture__t.html":[1,0,2],
-"structgf__draw__platform__t.html":[1,0,3],
-"structgf__draw__t.html":[1,0,4]
+"structgf__draw__driver__t.html":[1,0,1]
};
diff --git a/engine/navtreeindex1.js b/engine/navtreeindex1.js
index be5cdbf..017a89d 100644
--- a/engine/navtreeindex1.js
+++ b/engine/navtreeindex1.js
@@ -1,5 +1,8 @@
var NAVTREEINDEX1 =
{
+"structgf__draw__driver__texture__t.html":[1,0,2],
+"structgf__draw__platform__t.html":[1,0,3],
+"structgf__draw__t.html":[1,0,4],
"structgf__draw__t.html#a0d6e7e3f8f4e72bbfc4208db6b0a4e28":[1,0,4,5],
"structgf__draw__t.html#a1cba7c3af17c134f9f749ff9cb5aba72":[1,0,4,9],
"structgf__draw__t.html#a1ec29e03c753c84e51cb369e9b712d2d":[1,0,4,16],
@@ -45,13 +48,14 @@ var NAVTREEINDEX1 =
"structgf__gui__button__t.html":[1,0,11],
"structgf__gui__button__t.html#af4244759e08c083e52da752f3e83980c":[1,0,11,0],
"structgf__gui__component__t.html":[1,0,12],
-"structgf__gui__component__t.html#a51325b6f792b76b9bb6ced0e75dc3144":[1,0,12,1],
-"structgf__gui__component__t.html#a6029cc56d9b7feab844576661a55a865":[1,0,12,6],
-"structgf__gui__component__t.html#a6083ffb3cc61006522da912641bc4b1d":[1,0,12,4],
-"structgf__gui__component__t.html#a76656c3956b8b6055eaec792d82ceddb":[1,0,12,0],
-"structgf__gui__component__t.html#a9ce56e0861d5d77304cfb63604eaf8ec":[1,0,12,3],
-"structgf__gui__component__t.html#ac6a6067145b869324f9464aeeae5839f":[1,0,12,2],
-"structgf__gui__component__t.html#ace277498b9f1c269f928784fda1baceb":[1,0,12,5],
+"structgf__gui__component__t.html#a51325b6f792b76b9bb6ced0e75dc3144":[1,0,12,2],
+"structgf__gui__component__t.html#a6029cc56d9b7feab844576661a55a865":[1,0,12,7],
+"structgf__gui__component__t.html#a6083ffb3cc61006522da912641bc4b1d":[1,0,12,5],
+"structgf__gui__component__t.html#a76656c3956b8b6055eaec792d82ceddb":[1,0,12,1],
+"structgf__gui__component__t.html#a77db405b3425794800be00a127427351":[1,0,12,0],
+"structgf__gui__component__t.html#a9ce56e0861d5d77304cfb63604eaf8ec":[1,0,12,4],
+"structgf__gui__component__t.html#ac6a6067145b869324f9464aeeae5839f":[1,0,12,3],
+"structgf__gui__component__t.html#ace277498b9f1c269f928784fda1baceb":[1,0,12,6],
"structgf__gui__t.html":[1,0,13],
"structgf__gui__t.html#a6214eb0616b3f4dc9032eef592430b6a":[1,0,13,3],
"structgf__gui__t.html#a74daf2c905e24c5c6d40ab8803e5018b":[1,0,13,2],
diff --git a/engine/search/all_3.js b/engine/search/all_3.js
index 34f8335..9106fa9 100644
--- a/engine/search/all_3.js
+++ b/engine/search/all_3.js
@@ -1,12 +1,13 @@
var searchData=
[
- ['camera_0',['camera',['../structgf__draw__t.html#ac8333a3ac4ec20cc31dffe69cf9fb19b',1,'gf_draw_t']]],
- ['client_1',['client',['../structgf__engine__t.html#a4f2720244393f64efe90ef5079338ac2',1,'gf_engine_t']]],
- ['client_2eh_2',['client.h',['../client_8h.html',1,'']]],
- ['close_3',['close',['../structgf__draw__t.html#a923e76b7eba5d6bca1c92bea6a716adb',1,'gf_draw_t']]],
- ['code_4',['code',['../structgf__font__glyph__t.html#a2eb5224830d39157b39b55d8d13819c4',1,'gf_font_glyph_t']]],
- ['color_5',['color',['../structgf__mesh__triangle__t.html#a4c260e7069a24cc13c4e7249a61ae461',1,'gf_mesh_triangle_t']]],
- ['compat_2eh_6',['compat.h',['../compat_8h.html',1,'']]],
- ['core_2eh_7',['core.h',['../core_8h.html',1,'']]],
- ['count_8',['count',['../structgf__font__t.html#a64429d9770b427e15220d58d8234c73e',1,'gf_font_t']]]
+ ['callback_0',['callback',['../structgf__gui__component__t.html#a77db405b3425794800be00a127427351',1,'gf_gui_component_t']]],
+ ['camera_1',['camera',['../structgf__draw__t.html#ac8333a3ac4ec20cc31dffe69cf9fb19b',1,'gf_draw_t']]],
+ ['client_2',['client',['../structgf__engine__t.html#a4f2720244393f64efe90ef5079338ac2',1,'gf_engine_t']]],
+ ['client_2eh_3',['client.h',['../client_8h.html',1,'']]],
+ ['close_4',['close',['../structgf__draw__t.html#a923e76b7eba5d6bca1c92bea6a716adb',1,'gf_draw_t']]],
+ ['code_5',['code',['../structgf__font__glyph__t.html#a2eb5224830d39157b39b55d8d13819c4',1,'gf_font_glyph_t']]],
+ ['color_6',['color',['../structgf__mesh__triangle__t.html#a4c260e7069a24cc13c4e7249a61ae461',1,'gf_mesh_triangle_t']]],
+ ['compat_2eh_7',['compat.h',['../compat_8h.html',1,'']]],
+ ['core_2eh_8',['core.h',['../core_8h.html',1,'']]],
+ ['count_9',['count',['../structgf__font__t.html#a64429d9770b427e15220d58d8234c73e',1,'gf_font_t']]]
];
diff --git a/engine/search/all_7.js b/engine/search/all_7.js
index ce61cdf..45dfcc0 100644
--- a/engine/search/all_7.js
+++ b/engine/search/all_7.js
@@ -96,73 +96,75 @@ var searchData=
['gf_5fgui_5fcreate_93',['gf_gui_create',['../gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1',1,'gf_gui.c']]],
['gf_5fgui_5fcreate_5fbutton_94',['gf_gui_create_button',['../gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e',1,'gf_gui.c']]],
['gf_5fgui_5fdraw_5fbox_95',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]],
- ['gf_5fgui_5ffirst_5funused_96',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]],
- ['gf_5fgui_5ffont_5fsize_97',['GF_GUI_FONT_SIZE',['../gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522',1,'gf_gui.h']]],
- ['gf_5fgui_5fid_5ft_98',['gf_gui_id_t',['../gui_8h.html#a17ba559c53b849a8391b8f48d91b4f11',1,'gui.h']]],
- ['gf_5fgui_5finvert_99',['GF_GUI_INVERT',['../gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5',1,'gf_gui.h']]],
- ['gf_5fgui_5fmax_5fcomponents_100',['GF_GUI_MAX_COMPONENTS',['../gui_8h.html#a33770d9046d53ad607fcc938f1619eb8',1,'gui.h']]],
- ['gf_5fgui_5fnormal_101',['GF_GUI_NORMAL',['../gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46',1,'gf_gui.h']]],
- ['gf_5fgui_5frender_102',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]],
- ['gf_5fgui_5ft_103',['gf_gui_t',['../structgf__gui__t.html',1,'']]],
- ['gf_5fgui_5funion_5ft_104',['gf_gui_union_t',['../uniongf__gui__union__t.html',1,'']]],
- ['gf_5finput_2eh_105',['gf_input.h',['../gf__input_8h.html',1,'']]],
- ['gf_5finput_5fcreate_106',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]],
- ['gf_5finput_5fdestroy_107',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]],
- ['gf_5finput_5fmouse_5fleft_5fmask_108',['GF_INPUT_MOUSE_LEFT_MASK',['../input_8h.html#a9e633a7c5d0bd577a11243b397354588',1,'input.h']]],
- ['gf_5finput_5fmouse_5fmiddle_5fmask_109',['GF_INPUT_MOUSE_MIDDLE_MASK',['../input_8h.html#a1bcb3fe6d407a1f4791efcbd86cffac9',1,'input.h']]],
- ['gf_5finput_5fmouse_5fright_5fmask_110',['GF_INPUT_MOUSE_RIGHT_MASK',['../input_8h.html#aa131fcdb7b5d6864c62b32b86f702962',1,'input.h']]],
- ['gf_5finput_5ft_111',['gf_input_t',['../structgf__input__t.html',1,'']]],
- ['gf_5flog_112',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]],
- ['gf_5flog_2eh_113',['gf_log.h',['../gf__log_8h.html',1,'']]],
- ['gf_5flog_5ffunction_114',['gf_log_function',['../gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a',1,'gf_log.h']]],
- ['gf_5fmacro_2eh_115',['gf_macro.h',['../gf__macro_8h.html',1,'']]],
- ['gf_5fmath_2eh_116',['gf_math.h',['../gf__math_8h.html',1,'']]],
- ['gf_5fmath_5fcot_117',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]],
- ['gf_5fmath_5flog2_118',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]],
- ['gf_5fmath_5fmultiply_119',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]],
- ['gf_5fmath_5fnearest_5f2pow_120',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]],
- ['gf_5fmath_5fnormal_121',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]],
- ['gf_5fmath_5fnormalize_122',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]],
- ['gf_5fmath_5fpi_123',['GF_MATH_PI',['../gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5',1,'gf_math.h']]],
- ['gf_5fmath_5fsubtract_124',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]],
- ['gf_5fmath_5fvector_5fcopy_125',['GF_MATH_VECTOR_COPY',['../gf__math_8h.html#a545245d1e846e9c756e776eb6138536b',1,'gf_math.h']]],
- ['gf_5fmath_5fvector_5ft_126',['gf_math_vector_t',['../math_8h.html#a866f43b3ea5386cb9497738f1eec3d88',1,'math.h']]],
- ['gf_5fmesh_2eh_127',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]],
- ['gf_5fmesh_5ft_128',['gf_mesh_t',['../structgf__mesh__t.html',1,'']]],
- ['gf_5fmesh_5ftriangle_5ft_129',['gf_mesh_triangle_t',['../structgf__mesh__triangle__t.html',1,'']]],
- ['gf_5fmodel_2eh_130',['gf_model.h',['../gf__model_8h.html',1,'']]],
- ['gf_5fmodel_5ft_131',['gf_model_t',['../structgf__model__t.html',1,'']]],
- ['gf_5fopengl_2eh_132',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]],
- ['gf_5fphysics_2eh_133',['gf_physics.h',['../gf__physics_8h.html',1,'']]],
- ['gf_5fphysics_5fbegin_134',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]],
- ['gf_5fphysics_5fcreate_135',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]],
- ['gf_5fphysics_5fdestroy_136',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]],
- ['gf_5fphysics_5fend_137',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]],
- ['gf_5fphysics_5ft_138',['gf_physics_t',['../structgf__physics__t.html',1,'']]],
- ['gf_5fpre_2eh_139',['gf_pre.h',['../gf__pre_8h.html',1,'']]],
- ['gf_5fserver_2eh_140',['gf_server.h',['../gf__server_8h.html',1,'']]],
- ['gf_5fserver_5fbegin_141',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]],
- ['gf_5fserver_5fcreate_142',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]],
- ['gf_5fserver_5fdestroy_143',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]],
- ['gf_5fserver_5fend_144',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]],
- ['gf_5fserver_5ft_145',['gf_server_t',['../structgf__server__t.html',1,'']]],
- ['gf_5fset_5fcolor_146',['GF_SET_COLOR',['../gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203',1,'gf_graphic.h']]],
- ['gf_5ftexture_2eh_147',['gf_texture.h',['../gf__texture_8h.html',1,'']]],
- ['gf_5ftexture_5fcreate_148',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]],
- ['gf_5ftexture_5fdestroy_149',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]],
- ['gf_5ftexture_5ft_150',['gf_texture_t',['../structgf__texture__t.html',1,'']]],
- ['gf_5fthread_2eh_151',['gf_thread.h',['../gf__thread_8h.html',1,'']]],
- ['gf_5fthread_5fcontext_5ft_152',['gf_thread_context_t',['../structgf__thread__context__t.html',1,'']]],
- ['gf_5fthread_5fcreate_153',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]],
- ['gf_5fthread_5fdestroy_154',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]],
- ['gf_5fthread_5fjoin_155',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]],
- ['gf_5fthread_5ft_156',['gf_thread_t',['../structgf__thread__t.html',1,'']]],
- ['gf_5fversion_2eh_157',['gf_version.h',['../gf__version_8h.html',1,'']]],
- ['gf_5fversion_5fget_158',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]],
- ['gf_5fversion_5ft_159',['gf_version_t',['../structgf__version__t.html',1,'']]],
- ['glyph_160',['glyph',['../structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808',1,'gf_font_t']]],
- ['goldfish_20engine_161',['GoldFish Engine',['../index.html',1,'']]],
- ['graphic_2eh_162',['graphic.h',['../graphic_8h.html',1,'']]],
- ['gui_163',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]],
- ['gui_2eh_164',['gui.h',['../gui_8h.html',1,'']]]
+ ['gf_5fgui_5fevents_96',['GF_GUI_EVENTS',['../gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82',1,'gui.h']]],
+ ['gf_5fgui_5ffirst_5funused_97',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]],
+ ['gf_5fgui_5ffont_5fsize_98',['GF_GUI_FONT_SIZE',['../gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522',1,'gf_gui.h']]],
+ ['gf_5fgui_5fid_5ft_99',['gf_gui_id_t',['../gui_8h.html#a17ba559c53b849a8391b8f48d91b4f11',1,'gui.h']]],
+ ['gf_5fgui_5finvert_100',['GF_GUI_INVERT',['../gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5',1,'gf_gui.h']]],
+ ['gf_5fgui_5fmax_5fcomponents_101',['GF_GUI_MAX_COMPONENTS',['../gui_8h.html#a33770d9046d53ad607fcc938f1619eb8',1,'gui.h']]],
+ ['gf_5fgui_5fnormal_102',['GF_GUI_NORMAL',['../gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46',1,'gf_gui.h']]],
+ ['gf_5fgui_5frender_103',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]],
+ ['gf_5fgui_5fset_5fcallback_104',['gf_gui_set_callback',['../gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78',1,'gf_gui.c']]],
+ ['gf_5fgui_5ft_105',['gf_gui_t',['../structgf__gui__t.html',1,'']]],
+ ['gf_5fgui_5funion_5ft_106',['gf_gui_union_t',['../uniongf__gui__union__t.html',1,'']]],
+ ['gf_5finput_2eh_107',['gf_input.h',['../gf__input_8h.html',1,'']]],
+ ['gf_5finput_5fcreate_108',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]],
+ ['gf_5finput_5fdestroy_109',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]],
+ ['gf_5finput_5fmouse_5fleft_5fmask_110',['GF_INPUT_MOUSE_LEFT_MASK',['../input_8h.html#a9e633a7c5d0bd577a11243b397354588',1,'input.h']]],
+ ['gf_5finput_5fmouse_5fmiddle_5fmask_111',['GF_INPUT_MOUSE_MIDDLE_MASK',['../input_8h.html#a1bcb3fe6d407a1f4791efcbd86cffac9',1,'input.h']]],
+ ['gf_5finput_5fmouse_5fright_5fmask_112',['GF_INPUT_MOUSE_RIGHT_MASK',['../input_8h.html#aa131fcdb7b5d6864c62b32b86f702962',1,'input.h']]],
+ ['gf_5finput_5ft_113',['gf_input_t',['../structgf__input__t.html',1,'']]],
+ ['gf_5flog_114',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]],
+ ['gf_5flog_2eh_115',['gf_log.h',['../gf__log_8h.html',1,'']]],
+ ['gf_5flog_5ffunction_116',['gf_log_function',['../gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a',1,'gf_log.h']]],
+ ['gf_5fmacro_2eh_117',['gf_macro.h',['../gf__macro_8h.html',1,'']]],
+ ['gf_5fmath_2eh_118',['gf_math.h',['../gf__math_8h.html',1,'']]],
+ ['gf_5fmath_5fcot_119',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]],
+ ['gf_5fmath_5flog2_120',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]],
+ ['gf_5fmath_5fmultiply_121',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]],
+ ['gf_5fmath_5fnearest_5f2pow_122',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]],
+ ['gf_5fmath_5fnormal_123',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]],
+ ['gf_5fmath_5fnormalize_124',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]],
+ ['gf_5fmath_5fpi_125',['GF_MATH_PI',['../gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5',1,'gf_math.h']]],
+ ['gf_5fmath_5fsubtract_126',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]],
+ ['gf_5fmath_5fvector_5fcopy_127',['GF_MATH_VECTOR_COPY',['../gf__math_8h.html#a545245d1e846e9c756e776eb6138536b',1,'gf_math.h']]],
+ ['gf_5fmath_5fvector_5ft_128',['gf_math_vector_t',['../math_8h.html#a866f43b3ea5386cb9497738f1eec3d88',1,'math.h']]],
+ ['gf_5fmesh_2eh_129',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]],
+ ['gf_5fmesh_5ft_130',['gf_mesh_t',['../structgf__mesh__t.html',1,'']]],
+ ['gf_5fmesh_5ftriangle_5ft_131',['gf_mesh_triangle_t',['../structgf__mesh__triangle__t.html',1,'']]],
+ ['gf_5fmodel_2eh_132',['gf_model.h',['../gf__model_8h.html',1,'']]],
+ ['gf_5fmodel_5ft_133',['gf_model_t',['../structgf__model__t.html',1,'']]],
+ ['gf_5fopengl_2eh_134',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]],
+ ['gf_5fphysics_2eh_135',['gf_physics.h',['../gf__physics_8h.html',1,'']]],
+ ['gf_5fphysics_5fbegin_136',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]],
+ ['gf_5fphysics_5fcreate_137',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]],
+ ['gf_5fphysics_5fdestroy_138',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]],
+ ['gf_5fphysics_5fend_139',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]],
+ ['gf_5fphysics_5ft_140',['gf_physics_t',['../structgf__physics__t.html',1,'']]],
+ ['gf_5fpre_2eh_141',['gf_pre.h',['../gf__pre_8h.html',1,'']]],
+ ['gf_5fserver_2eh_142',['gf_server.h',['../gf__server_8h.html',1,'']]],
+ ['gf_5fserver_5fbegin_143',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]],
+ ['gf_5fserver_5fcreate_144',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]],
+ ['gf_5fserver_5fdestroy_145',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]],
+ ['gf_5fserver_5fend_146',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]],
+ ['gf_5fserver_5ft_147',['gf_server_t',['../structgf__server__t.html',1,'']]],
+ ['gf_5fset_5fcolor_148',['GF_SET_COLOR',['../gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203',1,'gf_graphic.h']]],
+ ['gf_5ftexture_2eh_149',['gf_texture.h',['../gf__texture_8h.html',1,'']]],
+ ['gf_5ftexture_5fcreate_150',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]],
+ ['gf_5ftexture_5fdestroy_151',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]],
+ ['gf_5ftexture_5ft_152',['gf_texture_t',['../structgf__texture__t.html',1,'']]],
+ ['gf_5fthread_2eh_153',['gf_thread.h',['../gf__thread_8h.html',1,'']]],
+ ['gf_5fthread_5fcontext_5ft_154',['gf_thread_context_t',['../structgf__thread__context__t.html',1,'']]],
+ ['gf_5fthread_5fcreate_155',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]],
+ ['gf_5fthread_5fdestroy_156',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]],
+ ['gf_5fthread_5fjoin_157',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]],
+ ['gf_5fthread_5ft_158',['gf_thread_t',['../structgf__thread__t.html',1,'']]],
+ ['gf_5fversion_2eh_159',['gf_version.h',['../gf__version_8h.html',1,'']]],
+ ['gf_5fversion_5fget_160',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]],
+ ['gf_5fversion_5ft_161',['gf_version_t',['../structgf__version__t.html',1,'']]],
+ ['glyph_162',['glyph',['../structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808',1,'gf_font_t']]],
+ ['goldfish_20engine_163',['GoldFish Engine',['../index.html',1,'']]],
+ ['graphic_2eh_164',['graphic.h',['../graphic_8h.html',1,'']]],
+ ['gui_165',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]],
+ ['gui_2eh_166',['gui.h',['../gui_8h.html',1,'']]]
];
diff --git a/engine/search/enums_0.js b/engine/search/enums_0.js
index b805277..874fd3f 100644
--- a/engine/search/enums_0.js
+++ b/engine/search/enums_0.js
@@ -1,4 +1,5 @@
var searchData=
[
- ['gf_5fgui_5fcomponent_5ftypes_0',['GF_GUI_COMPONENT_TYPES',['../gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03',1,'gui.h']]]
+ ['gf_5fgui_5fcomponent_5ftypes_0',['GF_GUI_COMPONENT_TYPES',['../gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03',1,'gui.h']]],
+ ['gf_5fgui_5fevents_1',['GF_GUI_EVENTS',['../gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82',1,'gui.h']]]
];
diff --git a/engine/search/functions_0.js b/engine/search/functions_0.js
index 9115aca..0711e63 100644
--- a/engine/search/functions_0.js
+++ b/engine/search/functions_0.js
@@ -53,28 +53,29 @@ var searchData=
['gf_5fgui_5fdraw_5fbox_50',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]],
['gf_5fgui_5ffirst_5funused_51',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]],
['gf_5fgui_5frender_52',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]],
- ['gf_5finput_5fcreate_53',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]],
- ['gf_5finput_5fdestroy_54',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]],
- ['gf_5flog_55',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]],
- ['gf_5fmath_5fcot_56',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]],
- ['gf_5fmath_5flog2_57',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]],
- ['gf_5fmath_5fmultiply_58',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]],
- ['gf_5fmath_5fnearest_5f2pow_59',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]],
- ['gf_5fmath_5fnormal_60',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]],
- ['gf_5fmath_5fnormalize_61',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]],
- ['gf_5fmath_5fsubtract_62',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]],
- ['gf_5fphysics_5fbegin_63',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]],
- ['gf_5fphysics_5fcreate_64',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]],
- ['gf_5fphysics_5fdestroy_65',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]],
- ['gf_5fphysics_5fend_66',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]],
- ['gf_5fserver_5fbegin_67',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]],
- ['gf_5fserver_5fcreate_68',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]],
- ['gf_5fserver_5fdestroy_69',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]],
- ['gf_5fserver_5fend_70',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]],
- ['gf_5ftexture_5fcreate_71',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]],
- ['gf_5ftexture_5fdestroy_72',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]],
- ['gf_5fthread_5fcreate_73',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]],
- ['gf_5fthread_5fdestroy_74',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]],
- ['gf_5fthread_5fjoin_75',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]],
- ['gf_5fversion_5fget_76',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]]
+ ['gf_5fgui_5fset_5fcallback_53',['gf_gui_set_callback',['../gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78',1,'gf_gui.c']]],
+ ['gf_5finput_5fcreate_54',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]],
+ ['gf_5finput_5fdestroy_55',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]],
+ ['gf_5flog_56',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]],
+ ['gf_5fmath_5fcot_57',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]],
+ ['gf_5fmath_5flog2_58',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]],
+ ['gf_5fmath_5fmultiply_59',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]],
+ ['gf_5fmath_5fnearest_5f2pow_60',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]],
+ ['gf_5fmath_5fnormal_61',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]],
+ ['gf_5fmath_5fnormalize_62',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]],
+ ['gf_5fmath_5fsubtract_63',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]],
+ ['gf_5fphysics_5fbegin_64',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]],
+ ['gf_5fphysics_5fcreate_65',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]],
+ ['gf_5fphysics_5fdestroy_66',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]],
+ ['gf_5fphysics_5fend_67',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]],
+ ['gf_5fserver_5fbegin_68',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]],
+ ['gf_5fserver_5fcreate_69',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]],
+ ['gf_5fserver_5fdestroy_70',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]],
+ ['gf_5fserver_5fend_71',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]],
+ ['gf_5ftexture_5fcreate_72',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]],
+ ['gf_5ftexture_5fdestroy_73',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]],
+ ['gf_5fthread_5fcreate_74',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]],
+ ['gf_5fthread_5fdestroy_75',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]],
+ ['gf_5fthread_5fjoin_76',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]],
+ ['gf_5fversion_5fget_77',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]]
];
diff --git a/engine/search/variables_2.js b/engine/search/variables_2.js
index 02b3451..2f680cc 100644
--- a/engine/search/variables_2.js
+++ b/engine/search/variables_2.js
@@ -1,9 +1,10 @@
var searchData=
[
- ['camera_0',['camera',['../structgf__draw__t.html#ac8333a3ac4ec20cc31dffe69cf9fb19b',1,'gf_draw_t']]],
- ['client_1',['client',['../structgf__engine__t.html#a4f2720244393f64efe90ef5079338ac2',1,'gf_engine_t']]],
- ['close_2',['close',['../structgf__draw__t.html#a923e76b7eba5d6bca1c92bea6a716adb',1,'gf_draw_t']]],
- ['code_3',['code',['../structgf__font__glyph__t.html#a2eb5224830d39157b39b55d8d13819c4',1,'gf_font_glyph_t']]],
- ['color_4',['color',['../structgf__mesh__triangle__t.html#a4c260e7069a24cc13c4e7249a61ae461',1,'gf_mesh_triangle_t']]],
- ['count_5',['count',['../structgf__font__t.html#a64429d9770b427e15220d58d8234c73e',1,'gf_font_t']]]
+ ['callback_0',['callback',['../structgf__gui__component__t.html#a77db405b3425794800be00a127427351',1,'gf_gui_component_t']]],
+ ['camera_1',['camera',['../structgf__draw__t.html#ac8333a3ac4ec20cc31dffe69cf9fb19b',1,'gf_draw_t']]],
+ ['client_2',['client',['../structgf__engine__t.html#a4f2720244393f64efe90ef5079338ac2',1,'gf_engine_t']]],
+ ['close_3',['close',['../structgf__draw__t.html#a923e76b7eba5d6bca1c92bea6a716adb',1,'gf_draw_t']]],
+ ['code_4',['code',['../structgf__font__glyph__t.html#a2eb5224830d39157b39b55d8d13819c4',1,'gf_font_glyph_t']]],
+ ['color_5',['color',['../structgf__mesh__triangle__t.html#a4c260e7069a24cc13c4e7249a61ae461',1,'gf_mesh_triangle_t']]],
+ ['count_6',['count',['../structgf__font__t.html#a64429d9770b427e15220d58d8234c73e',1,'gf_font_t']]]
];
diff --git a/engine/structgf__gui__button__t.html b/engine/structgf__gui__button__t.html
index 8b110cb..d7a20f9 100644
--- a/engine/structgf__gui__button__t.html
+++ b/engine/structgf__gui__button__t.html
@@ -111,7 +111,7 @@ Data Fields
Button component.
-
Definition at line 57 of file gui.h.
+
Definition at line 67 of file gui.h.
◆ text
@@ -127,7 +127,7 @@ Data Fields
Button text.
-Definition at line 57 of file gui.h.
+Definition at line 67 of file gui.h.
diff --git a/engine/structgf__gui__component__t.html b/engine/structgf__gui__component__t.html
index 7a0648f..8b8126c 100644
--- a/engine/structgf__gui__component__t.html
+++ b/engine/structgf__gui__component__t.html
@@ -122,6 +122,9 @@ Data Fields
int | pressed |
| 1 if pressed, otherwise 0
|
|
+gf_gui_callback_t | callback |
+ | Event callback.
|
+ |
gf_gui_union_t | u |
| Component union.
|
|
@@ -129,8 +132,26 @@ Data Fields
Component.
-
Definition at line 106 of file gui.h.
+
Definition at line 120 of file gui.h.
+
+◆ callback
+
+
+
+
+
+ gf_gui_component_t::callback |
+
+
+
+
+
Event callback.
+
+
Definition at line 120 of file gui.h.
+
+
+
◆ height
@@ -145,7 +166,7 @@ Data Fields
Height of component.
-Definition at line 106 of file gui.h.
+Definition at line 120 of file gui.h.
@@ -163,7 +184,7 @@ Data Fields
1
if pressed, otherwise 0
-Definition at line 106 of file gui.h.
+Definition at line 120 of file gui.h.
@@ -182,7 +203,7 @@ Data Fields
Component type.
- See also
- GF_GUI_COMPONENT_TYPES
-Definition at line 106 of file gui.h.
+Definition at line 120 of file gui.h.
@@ -200,7 +221,7 @@ Data Fields
Component union.
-Definition at line 106 of file gui.h.
+Definition at line 120 of file gui.h.
@@ -218,7 +239,7 @@ Data Fields
Width of component.
-Definition at line 106 of file gui.h.
+Definition at line 120 of file gui.h.
@@ -236,7 +257,7 @@ Data Fields
X coord of component.
-Definition at line 106 of file gui.h.
+Definition at line 120 of file gui.h.
@@ -254,7 +275,7 @@ Data Fields
X coord of component.
-Definition at line 106 of file gui.h.
+Definition at line 120 of file gui.h.
diff --git a/engine/structgf__gui__component__t.js b/engine/structgf__gui__component__t.js
index 1c85b28..7d8a028 100644
--- a/engine/structgf__gui__component__t.js
+++ b/engine/structgf__gui__component__t.js
@@ -1,5 +1,6 @@
var structgf__gui__component__t =
[
+ [ "callback", "structgf__gui__component__t.html#a77db405b3425794800be00a127427351", null ],
[ "height", "structgf__gui__component__t.html#a76656c3956b8b6055eaec792d82ceddb", null ],
[ "pressed", "structgf__gui__component__t.html#a51325b6f792b76b9bb6ced0e75dc3144", null ],
[ "type", "structgf__gui__component__t.html#ac6a6067145b869324f9464aeeae5839f", null ],
diff --git a/engine/structgf__gui__t.html b/engine/structgf__gui__t.html
index 4200d88..ddf8c71 100644
--- a/engine/structgf__gui__t.html
+++ b/engine/structgf__gui__t.html
@@ -120,7 +120,7 @@ Data Fields
GUI.
-
Definition at line 130 of file gui.h.
+
Definition at line 144 of file gui.h.
◆ area
@@ -136,7 +136,7 @@ Data Fields
Created components.
-Definition at line 130 of file gui.h.
+Definition at line 144 of file gui.h.
@@ -154,7 +154,7 @@ Data Fields
Drawing interface.
-Definition at line 130 of file gui.h.
+Definition at line 144 of file gui.h.
@@ -172,7 +172,7 @@ Data Fields
Engine instance.
-Definition at line 130 of file gui.h.
+Definition at line 144 of file gui.h.
@@ -190,7 +190,7 @@ Data Fields
1
if something is being pressed, otherwise 0
-Definition at line 130 of file gui.h.
+Definition at line 144 of file gui.h.
diff --git a/engine/uniongf__gui__union__t.html b/engine/uniongf__gui__union__t.html
index 5f9c74b..4b5507d 100644
--- a/engine/uniongf__gui__union__t.html
+++ b/engine/uniongf__gui__union__t.html
@@ -111,7 +111,7 @@ Data Fields
Component union.
-
Definition at line 67 of file gui.h.
+
Definition at line 77 of file gui.h.
◆ button
@@ -127,7 +127,7 @@ Data Fields
Button component.
-Definition at line 68 of file gui.h.
+Definition at line 78 of file gui.h.