diff --git a/engine/annotated.html b/engine/annotated.html index 4fed5ae..6e84beb 100644 --- a/engine/annotated.html +++ b/engine/annotated.html @@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();  Cgf_engine_tEngine instance  Cgf_font_bbox_tBounding box  Cgf_font_glyph_tGlyph - Cgf_font_store_t + Cgf_font_store_tInternal struct used for parsing  Cgf_font_tFont  Cgf_graphic_color_tColor  Cgf_gui_button_tButton component diff --git a/engine/annotated_dup.js b/engine/annotated_dup.js index c75ed85..05e24f4 100644 --- a/engine/annotated_dup.js +++ b/engine/annotated_dup.js @@ -10,7 +10,7 @@ var annotated_dup = [ "gf_engine_t", "structgf__engine__t.html", "structgf__engine__t" ], [ "gf_font_bbox_t", "structgf__font__bbox__t.html", "structgf__font__bbox__t" ], [ "gf_font_glyph_t", "structgf__font__glyph__t.html", "structgf__font__glyph__t" ], - [ "gf_font_store_t", "structgf__font__store__t.html", null ], + [ "gf_font_store_t", "structgf__font__store__t.html", "structgf__font__store__t" ], [ "gf_font_t", "structgf__font__t.html", "structgf__font__t" ], [ "gf_graphic_color_t", "structgf__graphic__color__t.html", "structgf__graphic__color__t" ], [ "gf_gui_button_t", "structgf__gui__button__t.html", "structgf__gui__button__t" ], diff --git a/engine/draw_8h_source.html b/engine/draw_8h_source.html index cd27ad8..c1473b3 100644 --- a/engine/draw_8h_source.html +++ b/engine/draw_8h_source.html @@ -179,7 +179,7 @@ $(document).ready(function(){initNavTree('draw_8h_source.html',''); initResizabl
gf_draw_t::width
int width
Width of window.
Definition draw.h:108
gf_draw_t::height
int height
Height of window.
Definition draw.h:108
gf_engine_t
Engine instance.
Definition core.h:46
-
gf_font_t
Font.
Definition font.h:95
+
gf_font_t
Font.
Definition font.h:115
gf_gui_t
GUI.
Definition gui.h:144
gf_input_t
Input interface.
Definition input.h:64
texture.h
Type definitions related to texture.
diff --git a/engine/font_8h.html b/engine/font_8h.html index e09951f..5c8e0c7 100644 --- a/engine/font_8h.html +++ b/engine/font_8h.html @@ -107,6 +107,9 @@ $(document).ready(function(){initNavTree('font_8h.html',''); initResizable(); }) + + + diff --git a/engine/font_8h.js b/engine/font_8h.js index 4e9c364..548532c 100644 --- a/engine/font_8h.js +++ b/engine/font_8h.js @@ -1,5 +1,6 @@ var font_8h = [ + [ "gf_font_store_t", "structgf__font__store__t.html", "structgf__font__store__t" ], [ "gf_font_bbox_t", "structgf__font__bbox__t.html", "structgf__font__bbox__t" ], [ "gf_font_glyph_t", "structgf__font__glyph__t.html", "structgf__font__glyph__t" ], [ "gf_font_t", "structgf__font__t.html", "structgf__font__t" ] diff --git a/engine/font_8h_source.html b/engine/font_8h_source.html index e040357..2742eaf 100644 --- a/engine/font_8h_source.html +++ b/engine/font_8h_source.html @@ -118,42 +118,48 @@ $(document).ready(function(){initNavTree('font_8h_source.html',''); initResizabl
22
23/* Standard */
24
-
42GF_DECLARE_TYPE(font_bbox, {
-
43 int width;
-
44 int height;
-
45 int x;
-
46 int y;
-
47});
-
48
-
69GF_DECLARE_TYPE(font_glyph, {
-
70 int code;
-
71 gf_texture_t* texture;
-
72 int bpl;
-
73 gf_font_bbox_t bbox;
-
74 int dwidth[2];
-
75});
-
76
-
91GF_DECLARE_TYPE(font, {
-
92 gf_font_glyph_t** glyph;
-
93 int count;
-
94 gf_font_bbox_t bbox;
-
95});
-
96#else
-
97typedef void gf_font_glyph_t;
-
98typedef void gf_font_bbox_t;
-
99typedef void gf_font_t;
-
100#endif
-
101
-
102#endif
+
39GF_DECLARE_TYPE(font_store, {
+
40 int glyph_index;
+
41 int line_index;
+
42 unsigned char* buffer;
+
43});
+
44
+
62GF_DECLARE_TYPE(font_bbox, {
+
63 int width;
+
64 int height;
+
65 int x;
+
66 int y;
+
67});
+
68
+
89GF_DECLARE_TYPE(font_glyph, {
+
90 int code;
+
91 gf_texture_t* texture;
+
92 int bpl;
+
93 gf_font_bbox_t bbox;
+
94 int dwidth[2];
+
95});
+
96
+
111GF_DECLARE_TYPE(font, {
+
112 gf_font_glyph_t** glyph;
+
113 int count;
+
114 gf_font_bbox_t bbox;
+
115});
+
116#else
+
117typedef void gf_font_glyph_t;
+
118typedef void gf_font_bbox_t;
+
119typedef void gf_font_t;
+
120#endif
+
121
+
122#endif
gf_macro.h
Macro.
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
gf_pre.h
Required headers before anything.
-
gf_font_bbox_t
Bounding box.
Definition font.h:47
-
gf_font_glyph_t
Glyph.
Definition font.h:75
-
gf_font_t
Font.
Definition font.h:95
-
gf_font_t::glyph
gf_font_glyph_t ** glyph
Glyph data.
Definition font.h:95
-
gf_font_t::count
int count
Glyph count.
Definition font.h:95
-
gf_font_t::bbox
gf_font_bbox_t bbox
Bounding box.
Definition font.h:95
+
gf_font_bbox_t
Bounding box.
Definition font.h:67
+
gf_font_glyph_t
Glyph.
Definition font.h:95
+
gf_font_t
Font.
Definition font.h:115
+
gf_font_t::glyph
gf_font_glyph_t ** glyph
Glyph data.
Definition font.h:115
+
gf_font_t::count
int count
Glyph count.
Definition font.h:115
+
gf_font_t::bbox
gf_font_bbox_t bbox
Bounding box.
Definition font.h:115
gf_texture_t
Texture.
Definition texture.h:49
texture.h
Type definitions related to texture.
diff --git a/engine/functions.html b/engine/functions.html index ddb3d8b..a3124e7 100644 --- a/engine/functions.html +++ b/engine/functions.html @@ -105,6 +105,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • backend : gf_version_t
  • bbox : gf_font_glyph_t, gf_font_t
  • bpl : gf_font_glyph_t
  • +
  • buffer : gf_font_store_t
  • button : gf_gui_union_t
  • @@ -150,6 +151,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();

    - g -

    diff --git a/engine/functions_vars.html b/engine/functions_vars.html index 9dfa3a5..c7ef8e5 100644 --- a/engine/functions_vars.html +++ b/engine/functions_vars.html @@ -105,6 +105,7 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • backend : gf_version_t
  • bbox : gf_font_glyph_t, gf_font_t
  • bpl : gf_font_glyph_t
  • +
  • buffer : gf_font_store_t
  • button : gf_gui_union_t
  • @@ -150,6 +151,7 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl

    - g -

    diff --git a/engine/gf__draw_8h.html b/engine/gf__draw_8h.html index 06d22a9..9f64f14 100644 --- a/engine/gf__draw_8h.html +++ b/engine/gf__draw_8h.html @@ -399,7 +399,7 @@ Functions -

    Definition at line 137 of file gf_draw_common.c.

    +

    Definition at line 140 of file gf_draw_common.c.

    diff --git a/engine/gf__draw_8h_source.html b/engine/gf__draw_8h_source.html index e8425d1..2ddda69 100644 --- a/engine/gf__draw_8h_source.html +++ b/engine/gf__draw_8h_source.html @@ -138,7 +138,7 @@ $(document).ready(function(){initNavTree('gf__draw_8h_source.html',''); initResi
    gf_draw_begin
    void gf_draw_begin(void)
    Initialize drawing stuffs.
    Definition gf_draw_common.c:26
    gf_draw_step
    int gf_draw_step(gf_draw_t *draw)
    Do drawing single step.
    Definition gf_draw_common.c:122
    gf_draw_frame
    void gf_draw_frame(gf_draw_t *draw)
    Draw frame (common part)
    Definition gf_draw_common.c:91
    -
    gf_draw_set_input
    void gf_draw_set_input(gf_draw_t *draw, gf_input_t *input)
    Set input interface.
    Definition gf_draw_common.c:137
    +
    gf_draw_set_input
    void gf_draw_set_input(gf_draw_t *draw, gf_input_t *input)
    Set input interface.
    Definition gf_draw_common.c:140
    gf_draw_destroy
    void gf_draw_destroy(gf_draw_t *draw)
    Destroy drawing interface.
    Definition gf_draw_common.c:130
    gf_draw_reshape
    void gf_draw_reshape(gf_draw_t *draw)
    Do stuffs required on resizing window.
    Definition gf_draw_common.c:79
    gf_draw_create
    gf_draw_t * gf_draw_create(gf_engine_t *engine, const char *title)
    Create drawing interface.
    Definition gf_draw_common.c:32
    diff --git a/engine/gf__draw__common_8c_source.html b/engine/gf__draw__common_8c_source.html index 296b5a5..14f7f72 100644 --- a/engine/gf__draw__common_8c_source.html +++ b/engine/gf__draw__common_8c_source.html @@ -236,14 +236,17 @@ $(document).ready(function(){initNavTree('gf__draw__common_8c_source.html','');
    129
    130void gf_draw_destroy(gf_draw_t* draw) {
    -
    131 if(draw->driver != NULL) gf_draw_driver_destroy(draw->driver);
    -
    132 if(draw->platform != NULL) gf_draw_platform_destroy(draw->platform);
    -
    133 gf_log_function(draw->engine, "Destroyed drawing interface", "");
    -
    134 free(draw);
    -
    135}
    +
    131 if(draw->font != NULL) {
    +
    132 gf_font_destroy(draw->font);
    +
    133 }
    +
    134 if(draw->driver != NULL) gf_draw_driver_destroy(draw->driver);
    +
    135 if(draw->platform != NULL) gf_draw_platform_destroy(draw->platform);
    +
    136 gf_log_function(draw->engine, "Destroyed drawing interface", "");
    +
    137 free(draw);
    +
    138}
    -
    136
    -
    137void gf_draw_set_input(gf_draw_t* draw, gf_input_t* input) { draw->input = input; }
    +
    139
    +
    140void gf_draw_set_input(gf_draw_t* draw, gf_input_t* input) { draw->input = input; }
    gf_core.h
    Core.
    gf_draw.h
    Drawing interface.
    gf_draw_driver.h
    Drawing driver.
    diff --git a/engine/gf__font_8c_source.html b/engine/gf__font_8c_source.html index 6154f16..752f7db 100644 --- a/engine/gf__font_8c_source.html +++ b/engine/gf__font_8c_source.html @@ -137,168 +137,190 @@ $(document).ready(function(){initNavTree('gf__font_8c_source.html',''); initResi
    34#define gf_stat stat
    35#endif
    36
    -
    37GF_DECLARE_TYPE(font_store, {
    -
    38 int glyph_index;
    -
    39 int line_index;
    -
    40 unsigned char* buffer;
    -
    41});
    -
    42
    -
    46void gf_font_parse_line(gf_draw_t* draw, const char* path, gf_font_store_t* store, gf_font_t* font, char* line) {
    -
    47 int i;
    -
    48 char* args[32];
    -
    49 int argc = 0;
    -
    50 int incr = 0;
    -
    51 int dq = 0;
    -
    52 for(i = 0;; i++) {
    -
    53 if((dq == 0 && line[i] == ' ') || line[i] == 0) {
    -
    54 char oldc = line[i];
    -
    55 line[i] = 0;
    +
    40void gf_font_parse_line(gf_draw_t* draw, const char* path, gf_font_store_t* store, gf_font_t* font, char* line) {
    +
    41 int i;
    +
    42 char* args[32];
    +
    43 int argc = 0;
    +
    44 int incr = 0;
    +
    45 int dq = 0;
    +
    46 for(i = 0;; i++) {
    +
    47 if((dq == 0 && line[i] == ' ') || line[i] == 0) {
    +
    48 char oldc = line[i];
    +
    49 line[i] = 0;
    +
    50
    +
    51 args[argc] = line + incr;
    +
    52 if(args[argc][0] == '"') args[argc]++;
    +
    53 if(args[argc][strlen(args[argc]) - 1] == '"') args[argc][strlen(args[argc]) - 1] = 0;
    +
    54
    +
    55 argc++;
    56
    -
    57 args[argc] = line + incr;
    -
    58 if(args[argc][0] == '"') args[argc]++;
    -
    59 if(args[argc][strlen(args[argc]) - 1] == '"') args[argc][strlen(args[argc]) - 1] = 0;
    -
    60
    -
    61 argc++;
    -
    62
    -
    63 incr = i + 1;
    -
    64
    -
    65 if(oldc == 0) break;
    -
    66 } else if(line[i] == '"') {
    -
    67 dq = 1 - dq;
    -
    68 }
    -
    69 }
    -
    70 if(store->line_index != -1 && store->line_index < font->glyph[store->glyph_index]->bbox.height) {
    -
    71 int wid = font->glyph[store->glyph_index]->bbox.width;
    -
    72 unsigned char* linebuf = store->buffer + store->line_index * wid * 4;
    -
    73 for(i = 0; line[i] != 0; i++) {
    -
    74 int n = 0;
    -
    75 int j;
    -
    76 if('0' <= line[i] && line[i] <= '9') {
    -
    77 n = line[i] - '0';
    -
    78 } else if('a' <= line[i] && line[i] <= 'f') {
    -
    79 n = 10 + line[i] - 'a';
    -
    80 } else if('A' <= line[i] && line[i] <= 'F') {
    -
    81 n = 10 + line[i] - 'A';
    +
    57 incr = i + 1;
    +
    58
    +
    59 if(oldc == 0) break;
    +
    60 } else if(line[i] == '"') {
    +
    61 dq = 1 - dq;
    +
    62 }
    +
    63 }
    +
    64 if(store->line_index != -1 && store->line_index < font->glyph[store->glyph_index]->bbox.height) {
    +
    65 int wid = font->glyph[store->glyph_index]->bbox.width;
    +
    66 unsigned char* linebuf = store->buffer + store->line_index * wid * 4;
    +
    67 for(i = 0; line[i] != 0; i++) {
    +
    68 int n = 0;
    +
    69 int j;
    +
    70 if('0' <= line[i] && line[i] <= '9') {
    +
    71 n = line[i] - '0';
    +
    72 } else if('a' <= line[i] && line[i] <= 'f') {
    +
    73 n = 10 + line[i] - 'a';
    +
    74 } else if('A' <= line[i] && line[i] <= 'F') {
    +
    75 n = 10 + line[i] - 'A';
    +
    76 }
    +
    77 for(j = 0; j < (wid > 4 ? 4 : wid); j++) {
    +
    78 if((n >> 3) & 1) {
    +
    79 memset(linebuf + 16 * i + 4 * j, 255, 4);
    +
    80 }
    +
    81 n = n << 1;
    82 }
    -
    83 for(j = 0; j < (wid > 4 ? 4 : wid); j++) {
    -
    84 if((n >> 3) & 1) {
    -
    85 memset(linebuf + 16 * i + 4 * j, 255, 4);
    -
    86 }
    -
    87 n = n << 1;
    -
    88 }
    -
    89 wid -= 4;
    -
    90 }
    -
    91 store->line_index++;
    -
    92 } else if(argc > 0 && strcmp(args[0], "STARTCHAR") == 0) {
    -
    93 font->glyph[store->glyph_index] = malloc(sizeof(**font->glyph));
    -
    94 memset(font->glyph[store->glyph_index], 0, sizeof(**font->glyph));
    -
    95 } else if(argc > 0 && strcmp(args[0], "ENDCHAR") == 0) {
    -
    96 font->glyph[store->glyph_index]->texture = gf_texture_create(draw, font->glyph[store->glyph_index]->bbox.width, font->glyph[store->glyph_index]->bbox.height, store->buffer);
    -
    97 free(store->buffer);
    -
    98 store->glyph_index++;
    -
    99 store->line_index = -1;
    -
    100 } else if(argc > 0 && strcmp(args[0], "BITMAP") == 0) {
    -
    101 store->line_index = 0;
    -
    102 } else if(argc == 2) {
    -
    103 if(strcmp(args[0], "COPYRIGHT") == 0) {
    -
    104 gf_log_function(NULL, "%s: %s", path, args[1]);
    -
    105 } else if(strcmp(args[0], "NOTICE") == 0) {
    -
    106 gf_log_function(NULL, "%s: %s", path, args[1]);
    -
    107 } else if(strcmp(args[0], "FOUNDRY") == 0) {
    -
    108 gf_log_function(NULL, "%s: Made by %s", path, args[1]);
    -
    109 } else if(strcmp(args[0], "CHARS") == 0) {
    -
    110 int j;
    -
    111 gf_log_function(NULL, "%s: %s characters", path, args[1]);
    -
    112 font->count = atoi(args[1]);
    -
    113 font->glyph = malloc(font->count * sizeof(*font->glyph));
    -
    114 for(j = 0; j < font->count; j++) font->glyph[j] = NULL;
    -
    115 } else if(strcmp(args[0], "ENCODING") == 0) {
    -
    116 font->glyph[store->glyph_index]->code = atoi(args[1]);
    -
    117 }
    -
    118 } else if(argc == 3) {
    -
    119 if(strcmp(args[0], "DWIDTH") == 0) {
    -
    120 font->glyph[store->glyph_index]->dwidth[0] = atoi(args[1]);
    -
    121 font->glyph[store->glyph_index]->dwidth[1] = atoi(args[2]);
    -
    122 }
    -
    123 } else if(argc == 5) {
    -
    124 if(strcmp(args[0], "FONTBOUNDINGBOX") == 0) {
    -
    125 font->bbox.width = atoi(args[1]);
    -
    126 font->bbox.height = atoi(args[2]);
    -
    127 font->bbox.x = atoi(args[3]);
    -
    128 font->bbox.y = atoi(args[4]);
    -
    129 } else if(strcmp(args[0], "BBX") == 0) {
    -
    130 font->glyph[store->glyph_index]->bbox.width = atoi(args[1]);
    -
    131 font->glyph[store->glyph_index]->bbox.height = atoi(args[2]);
    -
    132 font->glyph[store->glyph_index]->bbox.x = atoi(args[3]);
    -
    133 font->glyph[store->glyph_index]->bbox.y = atoi(args[4]);
    +
    83 wid -= 4;
    +
    84 }
    +
    85 store->line_index++;
    +
    86 } else if(argc > 0 && strcmp(args[0], "STARTCHAR") == 0) {
    +
    87 font->glyph[store->glyph_index] = malloc(sizeof(**font->glyph));
    +
    88 memset(font->glyph[store->glyph_index], 0, sizeof(**font->glyph));
    +
    89 } else if(argc > 0 && strcmp(args[0], "ENDCHAR") == 0) {
    +
    90 font->glyph[store->glyph_index]->texture = gf_texture_create(draw, font->glyph[store->glyph_index]->bbox.width, font->glyph[store->glyph_index]->bbox.height, store->buffer);
    +
    91 free(store->buffer);
    +
    92 store->glyph_index++;
    +
    93 store->line_index = -1;
    +
    94 } else if(argc > 0 && strcmp(args[0], "BITMAP") == 0) {
    +
    95 store->line_index = 0;
    +
    96 } else if(argc == 2) {
    +
    97 if(strcmp(args[0], "COPYRIGHT") == 0) {
    +
    98 gf_log_function(NULL, "%s: %s", path, args[1]);
    +
    99 } else if(strcmp(args[0], "NOTICE") == 0) {
    +
    100 gf_log_function(NULL, "%s: %s", path, args[1]);
    +
    101 } else if(strcmp(args[0], "FOUNDRY") == 0) {
    +
    102 gf_log_function(NULL, "%s: Made by %s", path, args[1]);
    +
    103 } else if(strcmp(args[0], "CHARS") == 0) {
    +
    104 int j;
    +
    105 gf_log_function(NULL, "%s: %s characters", path, args[1]);
    +
    106 font->count = atoi(args[1]);
    +
    107 font->glyph = malloc(font->count * sizeof(*font->glyph));
    +
    108 for(j = 0; j < font->count; j++) font->glyph[j] = NULL;
    +
    109 } else if(strcmp(args[0], "ENCODING") == 0) {
    +
    110 font->glyph[store->glyph_index]->code = atoi(args[1]);
    +
    111 }
    +
    112 } else if(argc == 3) {
    +
    113 if(strcmp(args[0], "DWIDTH") == 0) {
    +
    114 font->glyph[store->glyph_index]->dwidth[0] = atoi(args[1]);
    +
    115 font->glyph[store->glyph_index]->dwidth[1] = atoi(args[2]);
    +
    116 }
    +
    117 } else if(argc == 5) {
    +
    118 if(strcmp(args[0], "FONTBOUNDINGBOX") == 0) {
    +
    119 font->bbox.width = atoi(args[1]);
    +
    120 font->bbox.height = atoi(args[2]);
    +
    121 font->bbox.x = atoi(args[3]);
    +
    122 font->bbox.y = atoi(args[4]);
    +
    123 } else if(strcmp(args[0], "BBX") == 0) {
    +
    124 font->glyph[store->glyph_index]->bbox.width = atoi(args[1]);
    +
    125 font->glyph[store->glyph_index]->bbox.height = atoi(args[2]);
    +
    126 font->glyph[store->glyph_index]->bbox.x = atoi(args[3]);
    +
    127 font->glyph[store->glyph_index]->bbox.y = atoi(args[4]);
    +
    128
    +
    129 store->buffer = malloc(atoi(args[1]) * atoi(args[2]) * 4);
    +
    130 memset(store->buffer, 0, atoi(args[1]) * atoi(args[2]) * 4);
    +
    131 }
    +
    132 }
    +
    133}
    134
    -
    135 store->buffer = malloc(atoi(args[1]) * atoi(args[2]) * 4);
    -
    136 memset(store->buffer, 0, atoi(args[1]) * atoi(args[2]) * 4);
    -
    137 }
    -
    138 }
    -
    139}
    -
    140
    -
    -
    141gf_font_t* gf_font_create(gf_draw_t* draw, const char* path) {
    -
    142 gf_font_t* font = malloc(sizeof(*font));
    -
    143 struct gf_stat s;
    -
    144 char* buf;
    -
    145 FILE* f;
    -
    146 int i = 0;
    -
    147 int incr = 0;
    -
    148 gf_font_store_t store;
    -
    149 store.line_index = -1;
    -
    150 store.glyph_index = 0;
    -
    151 memset(font, 0, sizeof(*font));
    -
    152 if(gf_stat(path, &s) != 0) {
    -
    153 free(font);
    -
    154 return NULL;
    -
    155 }
    -
    156 gf_log_function(NULL, "%s: %lu bytes", path, (unsigned long)s.st_size);
    -
    157 buf = malloc(s.st_size + 1);
    -
    158 buf[s.st_size] = 0;
    -
    159 f = fopen(path, "r");
    -
    160 fread(buf, s.st_size, 1, f);
    -
    161 fclose(f);
    -
    162
    -
    163 for(i = 0;; i++) {
    -
    164 if(buf[i] == 0 || buf[i] == '\n') {
    -
    165 char oldc = buf[i];
    -
    166 char* line = buf + incr;
    -
    167 buf[i] = 0;
    -
    168 incr = i + 1;
    -
    169
    -
    170 gf_font_parse_line(draw, path, &store, font, line);
    -
    171
    -
    172 if(oldc == 0) break;
    -
    173 }
    -
    174 }
    -
    175
    -
    176 free(buf);
    -
    177 return font;
    -
    178}
    +
    +
    135gf_font_t* gf_font_create_raw(gf_draw_t* draw, const char* path, const void* data, size_t size) {
    +
    136 gf_font_t* font = malloc(sizeof(*font));
    +
    137 char* buf;
    +
    138 int i = 0;
    +
    139 int incr = 0;
    +
    140 gf_font_store_t store;
    +
    141 store.line_index = -1;
    +
    142 store.glyph_index = 0;
    +
    143 memset(font, 0, sizeof(*font));
    +
    144
    +
    145 buf = malloc(size + 1);
    +
    146 buf[size] = 0;
    +
    147 memcpy(buf, data, size);
    +
    148
    +
    149 for(i = 0;; i++) {
    +
    150 if(buf[i] == 0 || buf[i] == '\n') {
    +
    151 char oldc = buf[i];
    +
    152 char* line = buf + incr;
    +
    153 buf[i] = 0;
    +
    154 incr = i + 1;
    +
    155
    +
    156 gf_font_parse_line(draw, path, &store, font, line);
    +
    157
    +
    158 if(oldc == 0) break;
    +
    159 }
    +
    160 }
    +
    161
    +
    162 free(buf);
    +
    163 return font;
    +
    164}
    +
    +
    165
    +
    +
    166gf_font_t* gf_font_create(gf_draw_t* draw, const char* path) {
    +
    167 FILE* f;
    +
    168 struct gf_stat s;
    +
    169 char* buf;
    +
    170 gf_font_t* font;
    +
    171 if(gf_stat(path, &s) != 0) {
    +
    172 return NULL;
    +
    173 }
    +
    174 gf_log_function(NULL, "%s: %lu bytes", path, (unsigned long)s.st_size);
    +
    175 buf = malloc(s.st_size + 1);
    +
    176 buf[s.st_size] = 0;
    +
    177 f = fopen(path, "r");
    +
    178 fread(buf, s.st_size, 1, f);
    +
    179 fclose(f);
    +
    180
    +
    181 font = gf_font_create_raw(draw, path, buf, s.st_size);
    +
    182
    +
    183 free(buf);
    +
    184
    +
    185 return font;
    +
    186}
    +
    +
    187
    +
    +
    188void gf_font_destroy(gf_font_t* font) {
    +
    189 int i;
    +
    190 for(i = 0; i < font->count; i++) {
    +
    191 gf_texture_destroy(font->glyph[i]->texture);
    +
    192 }
    +
    193 free(font->glyph);
    +
    194 free(font);
    +
    195}
    Font.
    Logger.
    #define gf_log_function(engine, fmt,...)
    Output log with line number and function name.
    Definition gf_log.h:26
    -
    #define GF_DECLARE_TYPE(n, b)
    Macro to define engine type shorter.
    Definition gf_macro.h:180
    Required headers before anything.
    Texture.
    Drawing interface.
    Definition draw.h:108
    -
    int y
    Y coord.
    Definition font.h:47
    -
    int width
    Width.
    Definition font.h:47
    -
    int x
    X coord.
    Definition font.h:47
    -
    int height
    Height.
    Definition font.h:47
    -
    Glyph.
    Definition font.h:75
    -
    int code
    Character code.
    Definition font.h:75
    -
    int dwidth[2]
    Device width.
    Definition font.h:75
    -
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:75
    -
    gf_texture_t * texture
    Texture.
    Definition font.h:75
    -
    Definition gf_font.c:41
    -
    Font.
    Definition font.h:95
    -
    gf_font_glyph_t ** glyph
    Glyph data.
    Definition font.h:95
    -
    int count
    Glyph count.
    Definition font.h:95
    -
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:95
    +
    int y
    Y coord.
    Definition font.h:67
    +
    int width
    Width.
    Definition font.h:67
    +
    int x
    X coord.
    Definition font.h:67
    +
    int height
    Height.
    Definition font.h:67
    +
    Glyph.
    Definition font.h:95
    +
    int code
    Character code.
    Definition font.h:95
    +
    int dwidth[2]
    Device width.
    Definition font.h:95
    +
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:95
    +
    gf_texture_t * texture
    Texture.
    Definition font.h:95
    +
    Internal struct used for parsing.
    Definition font.h:43
    +
    int glyph_index
    Current glyph index.
    Definition font.h:43
    +
    unsigned char * buffer
    Glyph buffer.
    Definition font.h:43
    +
    Font.
    Definition font.h:115
    +
    gf_font_glyph_t ** glyph
    Glyph data.
    Definition font.h:115
    +
    int count
    Glyph count.
    Definition font.h:115
    +
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:115
    diff --git a/engine/gf__font_8h.html b/engine/gf__font_8h.html index 38e81a0..90f2660 100644 --- a/engine/gf__font_8h.html +++ b/engine/gf__font_8h.html @@ -103,6 +103,7 @@ $(document).ready(function(){initNavTree('gf__font_8h.html',''); initResizable() #include <gf_macro.h>
    #include <gf_type/font.h>
    #include <gf_type/draw.h>
    +#include <stddef.h>

    Go to the source code of this file.

    Data Structures

    struct  gf_font_store_t
     Internal struct used for parsing. More...
     
    struct  gf_font_bbox_t
     Bounding box. More...
     
    @@ -111,9 +112,15 @@ Functions + + + + + +
    gf_font_glyph_tgf_font_get (gf_font_t *font, int code)
     Get glyph.
     
    gf_font_tgf_font_create_raw (gf_draw_t *draw, const char *path, const void *data, size_t size)
     Load font.
     
    gf_font_tgf_font_create (gf_draw_t *draw, const char *path)
     Load font.
     
    void gf_font_destroy (gf_font_t *font)
     Destroy font.
     

    Detailed Description

    Font.

    @@ -164,7 +171,105 @@ Functions
    Returns
    Font
    -

    Definition at line 141 of file gf_font.c.

    +

    Definition at line 166 of file gf_font.c.

    + +
    + + +

    ◆ gf_font_create_raw()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    gf_font_t * gf_font_create_raw (gf_draw_tdraw,
    const char * path,
    const void * data,
    size_t size 
    )
    +
    +extern
    +
    + +

    Load font.

    +
    Parameters
    + + + + + +
    drawDrawing interface
    pathPath
    dataData
    sizeData size
    +
    +
    +
    Returns
    Font
    + +

    Definition at line 135 of file gf_font.c.

    + +
    +
    + +

    ◆ gf_font_destroy()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void gf_font_destroy (gf_font_tfont)
    +
    +extern
    +
    + +

    Destroy font.

    +
    Parameters
    + + +
    fontFont
    +
    +
    + +

    Definition at line 188 of file gf_font.c.

    diff --git a/engine/gf__font_8h.js b/engine/gf__font_8h.js index 798c12e..e97e03f 100644 --- a/engine/gf__font_8h.js +++ b/engine/gf__font_8h.js @@ -1,5 +1,7 @@ var gf__font_8h = [ [ "gf_font_create", "gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1", null ], + [ "gf_font_create_raw", "gf__font_8h.html#af86714d251cadb9eb123fbc99acf8621", null ], + [ "gf_font_destroy", "gf__font_8h.html#a2777beb54b042206a6873accb1333522", null ], [ "gf_font_get", "gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1", null ] ]; \ No newline at end of file diff --git a/engine/gf__font_8h_source.html b/engine/gf__font_8h_source.html index 196b242..c3af99a 100644 --- a/engine/gf__font_8h_source.html +++ b/engine/gf__font_8h_source.html @@ -113,22 +113,29 @@ $(document).ready(function(){initNavTree('gf__font_8h_source.html',''); initResi
    17#include <gf_type/draw.h>
    18
    19/* Standard */
    -
    20
    -
    28GF_EXPORT gf_font_glyph_t* gf_font_get(gf_font_t* font, int code);
    -
    29
    -
    37GF_EXPORT gf_font_t* gf_font_create(gf_draw_t* draw, const char* path);
    -
    38
    -
    39#endif
    +
    20#include <stddef.h>
    +
    21
    +
    29GF_EXPORT gf_font_glyph_t* gf_font_get(gf_font_t* font, int code);
    +
    30
    +
    40GF_EXPORT gf_font_t* gf_font_create_raw(gf_draw_t* draw, const char* path, const void* data, size_t size);
    +
    41
    +
    49GF_EXPORT gf_font_t* gf_font_create(gf_draw_t* draw, const char* path);
    +
    50
    +
    56GF_EXPORT void gf_font_destroy(gf_font_t* font);
    +
    57
    +
    58#endif
    draw.h
    Type definitions related to drawing interface.
    font.h
    Type definitions related to font.
    -
    gf_font_create
    gf_font_t * gf_font_create(gf_draw_t *draw, const char *path)
    Load font.
    Definition gf_font.c:141
    +
    gf_font_create
    gf_font_t * gf_font_create(gf_draw_t *draw, const char *path)
    Load font.
    Definition gf_font.c:166
    +
    gf_font_destroy
    void gf_font_destroy(gf_font_t *font)
    Destroy font.
    Definition gf_font.c:188
    gf_font_get
    gf_font_glyph_t * gf_font_get(gf_font_t *font, int code)
    Get glyph.
    Definition gf_font.c:20
    +
    gf_font_create_raw
    gf_font_t * gf_font_create_raw(gf_draw_t *draw, const char *path, const void *data, size_t size)
    Load font.
    Definition gf_font.c:135
    gf_macro.h
    Macro.
    GF_EXPORT
    #define GF_EXPORT
    Macro for platform-dependent symbol export/import.
    Definition gf_macro.h:190
    gf_pre.h
    Required headers before anything.
    gf_draw_t
    Drawing interface.
    Definition draw.h:108
    -
    gf_font_glyph_t
    Glyph.
    Definition font.h:75
    -
    gf_font_t
    Font.
    Definition font.h:95
    +
    gf_font_glyph_t
    Glyph.
    Definition font.h:95
    +
    gf_font_t
    Font.
    Definition font.h:115
    diff --git a/engine/gf__graphic__common_8c_source.html b/engine/gf__graphic__common_8c_source.html index 17ce708..4bfa579 100644 --- a/engine/gf__graphic__common_8c_source.html +++ b/engine/gf__graphic__common_8c_source.html @@ -171,15 +171,15 @@ $(document).ready(function(){initNavTree('gf__graphic__common_8c_source.html',''
    gf_pre.h
    Required headers before anything.
    gf_draw_t
    Drawing interface.
    Definition draw.h:108
    gf_draw_t::font
    gf_font_t * font
    Current font.
    Definition draw.h:108
    -
    gf_font_bbox_t::y
    int y
    Y coord.
    Definition font.h:47
    -
    gf_font_bbox_t::width
    int width
    Width.
    Definition font.h:47
    -
    gf_font_bbox_t::x
    int x
    X coord.
    Definition font.h:47
    -
    gf_font_bbox_t::height
    int height
    Height.
    Definition font.h:47
    -
    gf_font_glyph_t
    Glyph.
    Definition font.h:75
    -
    gf_font_glyph_t::dwidth
    int dwidth[2]
    Device width.
    Definition font.h:75
    -
    gf_font_glyph_t::bbox
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:75
    -
    gf_font_glyph_t::texture
    gf_texture_t * texture
    Texture.
    Definition font.h:75
    -
    gf_font_t::bbox
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:95
    +
    gf_font_bbox_t::y
    int y
    Y coord.
    Definition font.h:67
    +
    gf_font_bbox_t::width
    int width
    Width.
    Definition font.h:67
    +
    gf_font_bbox_t::x
    int x
    X coord.
    Definition font.h:67
    +
    gf_font_bbox_t::height
    int height
    Height.
    Definition font.h:67
    +
    gf_font_glyph_t
    Glyph.
    Definition font.h:95
    +
    gf_font_glyph_t::dwidth
    int dwidth[2]
    Device width.
    Definition font.h:95
    +
    gf_font_glyph_t::bbox
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:95
    +
    gf_font_glyph_t::texture
    gf_texture_t * texture
    Texture.
    Definition font.h:95
    +
    gf_font_t::bbox
    gf_font_bbox_t bbox
    Bounding box.
    Definition font.h:115
    gf_graphic_color_t
    Color.
    Definition graphic.h:44
    gf_texture_t
    Texture.
    Definition texture.h:49
    diff --git a/engine/gf__gui_8c_source.html b/engine/gf__gui_8c_source.html index 80c2e61..2b6300e 100644 --- a/engine/gf__gui_8c_source.html +++ b/engine/gf__gui_8c_source.html @@ -143,117 +143,141 @@ $(document).ready(function(){initNavTree('gf__gui_8c_source.html',''); initResiz
    41}
    42
    -
    43/* note... left top should be the lightest in the border */
    -
    44
    -
    -
    45void gf_gui_draw_box(gf_gui_t* gui, int mul, double x, double y, double w, double h) {
    -
    46 const int color_diff = 32; /* color diff */
    -
    47 gf_graphic_color_t col;
    -
    48
    -
    49 int cd = mul * color_diff;
    -
    50
    -
    51 col = gf_gui_base_color;
    -
    52 col.r += cd;
    -
    53 col.g += cd;
    -
    54 col.b += cd;
    -
    55 gf_graphic_fill_rect(gui->draw, x, y, w, h, col);
    -
    56
    -
    57 col = gf_gui_base_color;
    -
    58 col.r -= cd;
    -
    59 col.g -= cd;
    -
    60 col.b -= cd;
    -
    61 gf_graphic_fill_polygon(gui->draw, col, GF_GRAPHIC_2D, 5, x + w, y + h, x + w, y, x + w - gf_gui_border_width, y + gf_gui_border_width, x + gf_gui_border_width, y + h - gf_gui_border_width, x, y + h);
    +
    +
    43void gf_gui_destroy(gf_gui_t* gui) {
    + +
    45 for(i = 0; i < GF_GUI_MAX_COMPONENTS; i++) {
    +
    46 gf_gui_destroy_id(gui, i);
    +
    47 }
    +
    48 gf_log_function(gui->engine, "Destroyed GUI", "");
    +
    49 free(gui);
    +
    50}
    +
    +
    51
    +
    +
    52void gf_gui_destroy_id(gf_gui_t* gui, gf_gui_id_t id) {
    +
    53 gf_gui_component_t* c = &gui->area[id];
    +
    54 switch(c->type) {
    +
    55 case GF_GUI_BUTTON: {
    +
    56 if(c->u.button.text != NULL) free(c->u.button.text);
    +
    57 c->u.button.text = NULL;
    +
    58 }
    +
    59 }
    +
    60 c->type = GF_GUI_UNUSED;
    +
    61}
    +
    62
    -
    63 col = gf_gui_base_color;
    -
    64 gf_graphic_fill_rect(gui->draw, x + gf_gui_border_width, y + gf_gui_border_width, w - gf_gui_border_width * 2, h - gf_gui_border_width * 2, col);
    -
    65}
    +
    63/* note... left top should be the lightest in the border */
    +
    64
    +
    +
    65void gf_gui_draw_box(gf_gui_t* gui, int mul, double x, double y, double w, double h) {
    +
    66 const int color_diff = 32; /* color diff */
    + +
    68
    +
    69 int cd = mul * color_diff;
    +
    70
    +
    71 col = gf_gui_base_color;
    +
    72 col.r += cd;
    +
    73 col.g += cd;
    +
    74 col.b += cd;
    +
    75 gf_graphic_fill_rect(gui->draw, x, y, w, h, col);
    +
    76
    +
    77 col = gf_gui_base_color;
    +
    78 col.r -= cd;
    +
    79 col.g -= cd;
    +
    80 col.b -= cd;
    +
    81 gf_graphic_fill_polygon(gui->draw, col, GF_GRAPHIC_2D, 5, x + w, y + h, x + w, y, x + w - gf_gui_border_width, y + gf_gui_border_width, x + gf_gui_border_width, y + h - gf_gui_border_width, x, y + h);
    +
    82
    +
    83 col = gf_gui_base_color;
    +
    84 gf_graphic_fill_rect(gui->draw, x + gf_gui_border_width, y + gf_gui_border_width, w - gf_gui_border_width * 2, h - gf_gui_border_width * 2, col);
    +
    85}
    -
    66
    -
    -
    67gf_gui_component_t* gf_gui_first_unused(gf_gui_t* gui, gf_gui_id_t* id) {
    - -
    69 for(i = 0; i < GF_GUI_MAX_COMPONENTS; i++) {
    -
    70 if(gui->area[i].type == GF_GUI_UNUSED) {
    -
    71 *id = i;
    -
    72 return &gui->area[i];
    -
    73 }
    -
    74 }
    -
    75 return NULL;
    -
    76}
    +
    86
    +
    +
    87gf_gui_component_t* gf_gui_first_unused(gf_gui_t* gui, gf_gui_id_t* id) {
    + +
    89 for(i = 0; i < GF_GUI_MAX_COMPONENTS; i++) {
    +
    90 if(gui->area[i].type == GF_GUI_UNUSED) {
    +
    91 *id = i;
    +
    92 return &gui->area[i];
    +
    93 }
    +
    94 }
    +
    95 return NULL;
    +
    96}
    -
    77
    -
    -
    78gf_gui_id_t gf_gui_create_button(gf_gui_t* gui, double x, double y, double w, double h, const char* text) {
    -
    79 gf_gui_id_t id;
    -
    80 gf_gui_component_t* c = gf_gui_first_unused(gui, &id);
    -
    81
    -
    82 c->type = GF_GUI_BUTTON;
    -
    83 c->x = x;
    -
    84 c->y = y;
    -
    85 c->width = w;
    -
    86 c->height = h;
    -
    87
    -
    88 c->pressed = 0;
    -
    89 c->callback = NULL;
    -
    90
    -
    91 c->u.button.text = malloc(strlen(text) + 1);
    -
    92 strcpy(c->u.button.text, text);
    -
    93 return id;
    -
    94}
    +
    97
    +
    +
    98gf_gui_id_t gf_gui_create_button(gf_gui_t* gui, double x, double y, double w, double h, const char* text) {
    +
    99 gf_gui_id_t id;
    +
    100 gf_gui_component_t* c = gf_gui_first_unused(gui, &id);
    +
    101
    +
    102 c->type = GF_GUI_BUTTON;
    +
    103 c->x = x;
    +
    104 c->y = y;
    +
    105 c->width = w;
    +
    106 c->height = h;
    +
    107
    +
    108 c->pressed = 0;
    +
    109 c->callback = NULL;
    +
    110
    +
    111 c->u.button.text = malloc(strlen(text) + 1);
    +
    112 strcpy(c->u.button.text, text);
    +
    113 return id;
    +
    114}
    -
    95
    -
    -
    96void gf_gui_render(gf_gui_t* gui) {
    - -
    98 gf_input_t* input = gui->draw->input;
    -
    99 for(i = GF_GUI_MAX_COMPONENTS - 1; i >= 0; i--) {
    -
    100 gf_gui_component_t* c = &gui->area[i];
    -
    101 double cx = c->x;
    -
    102 double cy = c->y;
    -
    103 double cw = c->width;
    -
    104 double ch = c->height;
    -
    105 switch(c->type) {
    -
    106 case GF_GUI_BUTTON: {
    -
    107 if(input->mouse_x != -1 && input->mouse_y != -1 && gui->pressed == -1 && (input->mouse_flag & GF_INPUT_MOUSE_LEFT_MASK) && (cx <= input->mouse_x && input->mouse_x <= cx + cw) && (cy <= input->mouse_y && input->mouse_y <= cy + ch)) {
    -
    108 gui->pressed = i;
    -
    109 } else if(gui->pressed == -1) {
    -
    110 c->pressed = 0;
    -
    111 }
    -
    112 break;
    -
    113 }
    -
    114 }
    -
    115 }
    -
    116 for(i = 0; i < GF_GUI_MAX_COMPONENTS; i++) {
    -
    117 gf_gui_component_t* c = &gui->area[i];
    -
    118 double cx = c->x;
    -
    119 double cy = c->y;
    -
    120 double cw = c->width;
    -
    121 double ch = c->height;
    -
    122 switch(c->type) {
    -
    123 case GF_GUI_BUTTON: {
    -
    124 double x = cx + cw / 2 - gf_graphic_text_width(gui->draw, GF_GUI_FONT_SIZE, c->u.button.text) / 2;
    -
    125 double y = cy + ch / 2 - GF_GUI_FONT_SIZE / 2;
    -
    126 if(gui->pressed == i) {
    -
    127 x += gf_gui_border_width / 1;
    -
    128 y += gf_gui_border_width / 1;
    -
    129 }
    -
    130 gf_gui_draw_box(gui, (gui->pressed == i) ? GF_GUI_INVERT : GF_GUI_NORMAL, cx, cy, cw, ch);
    -
    131 gf_graphic_text(gui->draw, x, y, GF_GUI_FONT_SIZE, c->u.button.text, gf_gui_font_color);
    +
    115
    +
    +
    116void gf_gui_render(gf_gui_t* gui) {
    +
    117 gf_gui_id_t i;
    +
    118 gf_input_t* input = gui->draw->input;
    +
    119 for(i = GF_GUI_MAX_COMPONENTS - 1; i >= 0; i--) {
    +
    120 gf_gui_component_t* c = &gui->area[i];
    +
    121 double cx = c->x;
    +
    122 double cy = c->y;
    +
    123 double cw = c->width;
    +
    124 double ch = c->height;
    +
    125 switch(c->type) {
    +
    126 case GF_GUI_BUTTON: {
    +
    127 if(input->mouse_x != -1 && input->mouse_y != -1 && gui->pressed == -1 && (input->mouse_flag & GF_INPUT_MOUSE_LEFT_MASK) && (cx <= input->mouse_x && input->mouse_x <= cx + cw) && (cy <= input->mouse_y && input->mouse_y <= cy + ch)) {
    +
    128 gui->pressed = i;
    +
    129 } else if(gui->pressed == -1) {
    +
    130 c->pressed = 0;
    +
    131 }
    132 break;
    133 }
    134 }
    135 }
    -
    136 if((gui->pressed != -1) && !(input->mouse_flag & GF_INPUT_MOUSE_LEFT_MASK)) {
    -
    137 if(gui->area[gui->pressed].callback != NULL) {
    -
    138 gui->area[gui->pressed].callback(gui->engine, gui->draw, gui->pressed, GF_GUI_PRESS_EVENT);
    -
    139 }
    -
    140 gui->area[gui->pressed].pressed = 1;
    -
    141 gui->pressed = -1;
    -
    142 }
    -
    143}
    +
    136 for(i = 0; i < GF_GUI_MAX_COMPONENTS; i++) {
    +
    137 gf_gui_component_t* c = &gui->area[i];
    +
    138 double cx = c->x;
    +
    139 double cy = c->y;
    +
    140 double cw = c->width;
    +
    141 double ch = c->height;
    +
    142 switch(c->type) {
    +
    143 case GF_GUI_BUTTON: {
    +
    144 double x = cx + cw / 2 - gf_graphic_text_width(gui->draw, GF_GUI_FONT_SIZE, c->u.button.text) / 2;
    +
    145 double y = cy + ch / 2 - GF_GUI_FONT_SIZE / 2;
    +
    146 if(gui->pressed == i) {
    +
    147 x += gf_gui_border_width / 1;
    +
    148 y += gf_gui_border_width / 1;
    +
    149 }
    +
    150 gf_gui_draw_box(gui, (gui->pressed == i) ? GF_GUI_INVERT : GF_GUI_NORMAL, cx, cy, cw, ch);
    +
    151 gf_graphic_text(gui->draw, x, y, GF_GUI_FONT_SIZE, c->u.button.text, gf_gui_font_color);
    +
    152 break;
    +
    153 }
    +
    154 }
    +
    155 }
    +
    156 if((gui->pressed != -1) && !(input->mouse_flag & GF_INPUT_MOUSE_LEFT_MASK)) {
    +
    157 if(gui->area[gui->pressed].callback != NULL) {
    +
    158 gui->area[gui->pressed].callback(gui->engine, gui->draw, gui->pressed, GF_GUI_PRESS_EVENT);
    +
    159 }
    +
    160 gui->area[gui->pressed].pressed = 1;
    +
    161 gui->pressed = -1;
    +
    162 }
    +
    163}
    -
    144
    -
    145void gf_gui_set_callback(gf_gui_t* gui, gf_gui_id_t id, gf_gui_callback_t callback) { gui->area[id].callback = callback; }
    +
    164
    +
    165void gf_gui_set_callback(gf_gui_t* gui, gf_gui_id_t id, gf_gui_callback_t callback) { gui->area[id].callback = callback; }
    Drawing interface.
    Graphic interface.
    #define GF_SET_COLOR(color, red, green, blue, alpha)
    Macro to set color safely and shorter.
    Definition gf_graphic.h:39
    @@ -263,6 +287,7 @@ $(document).ready(function(){initNavTree('gf__gui_8c_source.html',''); initResiz
    #define GF_GUI_FONT_SIZE
    Default GUI font size.
    Definition gf_gui.h:38
    #define GF_GUI_NORMAL
    Draw border normally.
    Definition gf_gui.h:26
    Logger.
    +
    #define gf_log_function(engine, fmt,...)
    Output log with line number and function name.
    Definition gf_log.h:26
    Required headers before anything.
    int gf_gui_id_t
    Component ID.
    Definition gui.h:17
    #define GF_GUI_MAX_COMPONENTS
    Max components GUI can handle.
    Definition gui.h:48
    diff --git a/engine/gf__gui_8h.html b/engine/gf__gui_8h.html index ba7a633..fff1ea3 100644 --- a/engine/gf__gui_8h.html +++ b/engine/gf__gui_8h.html @@ -125,6 +125,12 @@ Functions gf_gui_tgf_gui_create (gf_engine_t *engine, gf_draw_t *draw)  Create GUI.
      +void gf_gui_destroy (gf_gui_t *gui) + Destroy GUI.
    +  +void gf_gui_destroy_id (gf_gui_t *gui, gf_gui_id_t id) + Destroy GUI component by ID.
    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.
      @@ -244,7 +250,6 @@ Functions
    Returns
    GUI
    -
    Note
    You should not have to call this - simply use gf_draw_t::gui

    Definition at line 26 of file gf_gui.c.

    @@ -322,7 +327,90 @@ Functions
    Returns
    Component ID
    -

    Definition at line 78 of file gf_gui.c.

    +

    Definition at line 98 of file gf_gui.c.

    + +
    +
    + +

    ◆ gf_gui_destroy()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void gf_gui_destroy (gf_gui_tgui)
    +
    +extern
    +
    + +

    Destroy GUI.

    +
    Parameters
    + + +
    guiGUI
    +
    +
    + +

    Definition at line 43 of file gf_gui.c.

    + +
    +
    + +

    ◆ gf_gui_destroy_id()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void gf_gui_destroy_id (gf_gui_tgui,
    gf_gui_id_t id 
    )
    +
    +extern
    +
    + +

    Destroy GUI component by ID.

    +
    Parameters
    + + + +
    guiGUI
    idComponent ID
    +
    +
    + +

    Definition at line 52 of file gf_gui.c.

    @@ -397,7 +485,7 @@ Functions -

    Definition at line 45 of file gf_gui.c.

    +

    Definition at line 65 of file gf_gui.c.

    @@ -445,7 +533,7 @@ Functions
    Returns
    Pointer to component
    -

    Definition at line 67 of file gf_gui.c.

    +

    Definition at line 87 of file gf_gui.c.

    @@ -481,7 +569,7 @@ Functions -

    Definition at line 96 of file gf_gui.c.

    +

    Definition at line 116 of file gf_gui.c.

    @@ -535,7 +623,7 @@ Functions -

    Definition at line 145 of file gf_gui.c.

    +

    Definition at line 165 of file gf_gui.c.

    diff --git a/engine/gf__gui_8h.js b/engine/gf__gui_8h.js index b8d28ba..cbf59fa 100644 --- a/engine/gf__gui_8h.js +++ b/engine/gf__gui_8h.js @@ -5,6 +5,8 @@ var gf__gui_8h = [ "GF_GUI_NORMAL", "gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46", null ], [ "gf_gui_create", "gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1", null ], [ "gf_gui_create_button", "gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e", null ], + [ "gf_gui_destroy", "gf__gui_8h.html#ab8c8f2db437bffd27987005978c9a766", null ], + [ "gf_gui_destroy_id", "gf__gui_8h.html#afca0bddbe4a2ffefa86cf963cf0cc925", 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 ], diff --git a/engine/gf__gui_8h_source.html b/engine/gf__gui_8h_source.html index ed20c81..820784b 100644 --- a/engine/gf__gui_8h_source.html +++ b/engine/gf__gui_8h_source.html @@ -121,27 +121,33 @@ $(document).ready(function(){initNavTree('gf__gui_8h_source.html',''); initResiz
    33
    38#define GF_GUI_FONT_SIZE 32
    39
    -
    48GF_EXPORT gf_gui_t* gf_gui_create(gf_engine_t* engine, gf_draw_t* draw);
    -
    49
    -
    61GF_EXPORT gf_gui_id_t gf_gui_create_button(gf_gui_t* gui, double x, double y, double w, double h, const char* text);
    -
    62
    -
    68GF_EXPORT void gf_gui_render(gf_gui_t* gui);
    -
    69
    -
    77GF_EXPORT gf_gui_component_t* gf_gui_first_unused(gf_gui_t* gui, gf_gui_id_t* id);
    -
    78
    -
    89GF_EXPORT void gf_gui_draw_box(gf_gui_t* gui, int mul, double x, double y, double w, double h);
    -
    90
    -
    98GF_EXPORT void gf_gui_set_callback(gf_gui_t* gui, gf_gui_id_t id, gf_gui_callback_t callback);
    -
    99
    -
    100#endif
    +
    47GF_EXPORT gf_gui_t* gf_gui_create(gf_engine_t* engine, gf_draw_t* draw);
    +
    48
    +
    54GF_EXPORT void gf_gui_destroy(gf_gui_t* gui);
    +
    55
    +
    62GF_EXPORT void gf_gui_destroy_id(gf_gui_t* gui, gf_gui_id_t id);
    +
    63
    +
    75GF_EXPORT gf_gui_id_t gf_gui_create_button(gf_gui_t* gui, double x, double y, double w, double h, const char* text);
    +
    76
    +
    82GF_EXPORT void gf_gui_render(gf_gui_t* gui);
    +
    83
    +
    91GF_EXPORT gf_gui_component_t* gf_gui_first_unused(gf_gui_t* gui, gf_gui_id_t* id);
    +
    92
    +
    103GF_EXPORT void gf_gui_draw_box(gf_gui_t* gui, int mul, double x, double y, double w, double h);
    +
    104
    +
    112GF_EXPORT void gf_gui_set_callback(gf_gui_t* gui, gf_gui_id_t id, gf_gui_callback_t callback);
    +
    113
    +
    114#endif
    core.h
    Type definitions related to core.
    draw.h
    Type definitions related to drawing interface.
    -
    gf_gui_first_unused
    gf_gui_component_t * gf_gui_first_unused(gf_gui_t *gui, gf_gui_id_t *id)
    Get first unused component entry.
    Definition gf_gui.c:67
    -
    gf_gui_render
    void gf_gui_render(gf_gui_t *gui)
    Render GUI.
    Definition gf_gui.c:96
    -
    gf_gui_draw_box
    void gf_gui_draw_box(gf_gui_t *gui, int mul, double x, double y, double w, double h)
    Render box.
    Definition gf_gui.c:45
    +
    gf_gui_first_unused
    gf_gui_component_t * gf_gui_first_unused(gf_gui_t *gui, gf_gui_id_t *id)
    Get first unused component entry.
    Definition gf_gui.c:87
    +
    gf_gui_render
    void gf_gui_render(gf_gui_t *gui)
    Render GUI.
    Definition gf_gui.c:116
    +
    gf_gui_draw_box
    void gf_gui_draw_box(gf_gui_t *gui, int mul, double x, double y, double w, double h)
    Render box.
    Definition gf_gui.c:65
    gf_gui_create
    gf_gui_t * gf_gui_create(gf_engine_t *engine, gf_draw_t *draw)
    Create GUI.
    Definition gf_gui.c:26
    -
    gf_gui_create_button
    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.
    Definition gf_gui.c:78
    -
    gf_gui_set_callback
    void gf_gui_set_callback(gf_gui_t *gui, gf_gui_id_t id, gf_gui_callback_t callback)
    Set callback.
    Definition gf_gui.c:145
    +
    gf_gui_create_button
    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.
    Definition gf_gui.c:98
    +
    gf_gui_destroy
    void gf_gui_destroy(gf_gui_t *gui)
    Destroy GUI.
    Definition gf_gui.c:43
    +
    gf_gui_set_callback
    void gf_gui_set_callback(gf_gui_t *gui, gf_gui_id_t id, gf_gui_callback_t callback)
    Set callback.
    Definition gf_gui.c:165
    +
    gf_gui_destroy_id
    void gf_gui_destroy_id(gf_gui_t *gui, gf_gui_id_t id)
    Destroy GUI component by ID.
    Definition gf_gui.c:52
    gf_macro.h
    Macro.
    GF_EXPORT
    #define GF_EXPORT
    Macro for platform-dependent symbol export/import.
    Definition gf_macro.h:190
    gf_pre.h
    Required headers before anything.
    diff --git a/engine/globals.html b/engine/globals.html index d08e77d..5d9c47c 100644 --- a/engine/globals.html +++ b/engine/globals.html @@ -164,6 +164,8 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
  • GF_EXPOSE_THREAD : gf_macro.h
  • GF_EXPOSE_VERSION : gf_macro.h
  • gf_font_create() : gf_font.h
  • +
  • gf_font_create_raw() : gf_font.h
  • +
  • gf_font_destroy() : gf_font.h
  • gf_font_get() : gf_font.h
  • GF_GRAPHIC_2D : gf_graphic.h
  • GF_GRAPHIC_3D : gf_graphic.h
  • @@ -181,6 +183,8 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
  • GF_GUI_COMPONENT_TYPES : gui.h
  • gf_gui_create() : gf_gui.h
  • gf_gui_create_button() : gf_gui.h
  • +
  • gf_gui_destroy() : gf_gui.h
  • +
  • gf_gui_destroy_id() : gf_gui.h
  • gf_gui_draw_box() : gf_gui.h
  • GF_GUI_EVENTS : gui.h
  • gf_gui_first_unused() : gf_gui.h
  • diff --git a/engine/globals_func.html b/engine/globals_func.html index fe7db67..df0f88f 100644 --- a/engine/globals_func.html +++ b/engine/globals_func.html @@ -138,6 +138,8 @@ $(document).ready(function(){initNavTree('globals_func.html',''); initResizable(
  • gf_engine_end() : gf_core.h
  • gf_engine_loop() : gf_core.h
  • gf_font_create() : gf_font.h
  • +
  • gf_font_create_raw() : gf_font.h
  • +
  • gf_font_destroy() : gf_font.h
  • gf_font_get() : gf_font.h
  • gf_graphic_begin_2d() : gf_graphic.h
  • gf_graphic_clear() : gf_graphic.h
  • @@ -152,6 +154,8 @@ $(document).ready(function(){initNavTree('globals_func.html',''); initResizable(
  • gf_graphic_text_width() : gf_graphic.h
  • gf_gui_create() : gf_gui.h
  • gf_gui_create_button() : gf_gui.h
  • +
  • gf_gui_destroy() : gf_gui.h
  • +
  • gf_gui_destroy_id() : gf_gui.h
  • gf_gui_draw_box() : gf_gui.h
  • gf_gui_first_unused() : gf_gui.h
  • gf_gui_render() : gf_gui.h
  • diff --git a/engine/navtreedata.js b/engine/navtreedata.js index 4e72da7..39cae6b 100644 --- a/engine/navtreedata.js +++ b/engine/navtreedata.js @@ -50,7 +50,7 @@ var NAVTREE = var NAVTREEINDEX = [ "annotated.html", -"model_8h_source.html" +"math_8h_source.html" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/engine/navtreeindex0.js b/engine/navtreeindex0.js index ba98e54..b4ae1b9 100644 --- a/engine/navtreeindex0.js +++ b/engine/navtreeindex0.js @@ -105,7 +105,9 @@ var NAVTREEINDEX0 = "gf__font_8c_source.html":[2,0,1,7], "gf__font_8h.html":[2,0,0,8], "gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1":[2,0,0,8,0], -"gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1":[2,0,0,8,1], +"gf__font_8h.html#a2777beb54b042206a6873accb1333522":[2,0,0,8,2], +"gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1":[2,0,0,8,3], +"gf__font_8h.html#af86714d251cadb9eb123fbc99acf8621":[2,0,0,8,1], "gf__font_8h_source.html":[2,0,0,8], "gf__graphic_8h.html":[2,0,0,9], "gf__graphic_8h.html#a0b9f704231aa067e58c6a8e7a42afdcf":[2,0,0,9,1], @@ -127,14 +129,16 @@ var NAVTREEINDEX0 = "gf__gui_8c_source.html":[2,0,1,9], "gf__gui_8h.html":[2,0,0,10], "gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5":[2,0,0,10,1], -"gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5":[2,0,0,10,6], -"gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c":[2,0,0,10,7], +"gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5":[2,0,0,10,8], +"gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c":[2,0,0,10,9], "gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522":[2,0,0,10,0], -"gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499":[2,0,0,10,5], +"gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499":[2,0,0,10,7], "gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1":[2,0,0,10,3], "gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e":[2,0,0,10,4], -"gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78":[2,0,0,10,8], +"gf__gui_8h.html#ab8c8f2db437bffd27987005978c9a766":[2,0,0,10,5], +"gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78":[2,0,0,10,10], "gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46":[2,0,0,10,2], +"gf__gui_8h.html#afca0bddbe4a2ffefa86cf963cf0cc925":[2,0,0,10,6], "gf__gui_8h_source.html":[2,0,0,10], "gf__input_8c_source.html":[2,0,1,10], "gf__input_8h.html":[2,0,0,11], @@ -245,9 +249,5 @@ var NAVTREEINDEX0 = "input_8h.html#aa131fcdb7b5d6864c62b32b86f702962":[2,0,0,0,10,3], "input_8h_source.html":[2,0,0,0,10], "math_8h.html":[2,0,0,0,11], -"math_8h.html#a866f43b3ea5386cb9497738f1eec3d88":[2,0,0,0,11,0], -"math_8h_source.html":[2,0,0,0,11], -"mesh_8h.html":[2,0,0,0,12], -"mesh_8h_source.html":[2,0,0,0,12], -"model_8h.html":[2,0,0,0,13] +"math_8h.html#a866f43b3ea5386cb9497738f1eec3d88":[2,0,0,0,11,0] }; diff --git a/engine/navtreeindex1.js b/engine/navtreeindex1.js index 2b9b494..0506015 100644 --- a/engine/navtreeindex1.js +++ b/engine/navtreeindex1.js @@ -1,5 +1,9 @@ var NAVTREEINDEX1 = { +"math_8h_source.html":[2,0,0,0,11], +"mesh_8h.html":[2,0,0,0,12], +"mesh_8h_source.html":[2,0,0,0,12], +"model_8h.html":[2,0,0,0,13], "model_8h_source.html":[2,0,0,0,13], "opengl_2gf__driver_8c_source.html":[2,0,1,1,1,3], "opengl_2gf__graphic_8c_source.html":[2,0,1,1,1,4], @@ -68,6 +72,8 @@ var NAVTREEINDEX1 = "structgf__font__glyph__t.html#a91dd3ea1f159fcd432b2a0853bac462a":[1,0,9,4], "structgf__font__glyph__t.html#afc5f183e4ec96688eaa5273e058b06f9":[1,0,9,1], "structgf__font__store__t.html":[1,0,10], +"structgf__font__store__t.html#a3fb7b9dda717b2b8452a3d8d48c8cc6c":[1,0,10,1], +"structgf__font__store__t.html#ae05d63dafdae1b5af0074e21ca58f520":[1,0,10,0], "structgf__font__t.html":[1,0,11], "structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808":[1,0,11,2], "structgf__font__t.html#a64429d9770b427e15220d58d8234c73e":[1,0,11,1], diff --git a/engine/search/all_2.js b/engine/search/all_2.js index 5e8216d..dd24922 100644 --- a/engine/search/all_2.js +++ b/engine/search/all_2.js @@ -4,5 +4,6 @@ var searchData= ['backend_1',['backend',['../structgf__version__t.html#a2a478dbfcd02eaead8b77aad204cfc0d',1,'gf_version_t']]], ['bbox_2',['bbox',['../structgf__font__glyph__t.html#a9171039b0372c9015bb350b080e1bf76',1,'gf_font_glyph_t::bbox'],['../structgf__font__t.html#ac292451fd0d28bbdb6fb21efb3b8714c',1,'gf_font_t::bbox']]], ['bpl_3',['bpl',['../structgf__font__glyph__t.html#afc5f183e4ec96688eaa5273e058b06f9',1,'gf_font_glyph_t']]], - ['button_4',['button',['../uniongf__gui__union__t.html#a35c5cf94acf5b2158389f19578ee9ad7',1,'gf_gui_union_t']]] + ['buffer_4',['buffer',['../structgf__font__store__t.html#ae05d63dafdae1b5af0074e21ca58f520',1,'gf_font_store_t']]], + ['button_5',['button',['../uniongf__gui__union__t.html#a35c5cf94acf5b2158389f19578ee9ad7',1,'gf_gui_union_t']]] ]; diff --git a/engine/search/all_7.js b/engine/search/all_7.js index 3d663d9..f5c88e2 100644 --- a/engine/search/all_7.js +++ b/engine/search/all_7.js @@ -83,101 +83,106 @@ var searchData= ['gf_5ffont_2eh_80',['gf_font.h',['../gf__font_8h.html',1,'']]], ['gf_5ffont_5fbbox_5ft_81',['gf_font_bbox_t',['../structgf__font__bbox__t.html',1,'']]], ['gf_5ffont_5fcreate_82',['gf_font_create',['../gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1',1,'gf_font.c']]], - ['gf_5ffont_5fget_83',['gf_font_get',['../gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1',1,'gf_font.c']]], - ['gf_5ffont_5fglyph_5ft_84',['gf_font_glyph_t',['../structgf__font__glyph__t.html',1,'']]], - ['gf_5ffont_5fstore_5ft_85',['gf_font_store_t',['../structgf__font__store__t.html',1,'']]], - ['gf_5ffont_5ft_86',['gf_font_t',['../structgf__font__t.html',1,'']]], - ['gf_5fgraphic_2eh_87',['gf_graphic.h',['../gf__graphic_8h.html',1,'']]], - ['gf_5fgraphic_5f2d_88',['GF_GRAPHIC_2D',['../gf__graphic_8h.html#ab0a76f61b9510881b842dbba4b0b54c0',1,'gf_graphic.h']]], - ['gf_5fgraphic_5f3d_89',['GF_GRAPHIC_3D',['../gf__graphic_8h.html#a0b9f704231aa067e58c6a8e7a42afdcf',1,'gf_graphic.h']]], - ['gf_5fgraphic_5fbegin_5f2d_90',['gf_graphic_begin_2d',['../gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fclear_91',['gf_graphic_clear',['../gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fcolor_5ft_92',['gf_graphic_color_t',['../structgf__graphic__color__t.html',1,'']]], - ['gf_5fgraphic_5fdraw_5ftexture_5f2d_93',['gf_graphic_draw_texture_2d',['../gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5fdraw_5ftexture_5fpolygon_94',['gf_graphic_draw_texture_polygon',['../gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fend_5f2d_95',['gf_graphic_end_2d',['../gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ffill_5fpolygon_96',['gf_graphic_fill_polygon',['../gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ffill_5frect_97',['gf_graphic_fill_rect',['../gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5fperspective_98',['gf_graphic_perspective',['../gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fset_5fcamera_99',['gf_graphic_set_camera',['../gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ftext_100',['gf_graphic_text',['../gf__graphic_8h.html#a9840372651011386f6851954e95e7943',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5ftext_5fwidth_101',['gf_graphic_text_width',['../gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1',1,'gf_graphic_common.c']]], - ['gf_5fgui_2eh_102',['gf_gui.h',['../gf__gui_8h.html',1,'']]], - ['gf_5fgui_5fbutton_5ft_103',['gf_gui_button_t',['../structgf__gui__button__t.html',1,'']]], - ['gf_5fgui_5fcomponent_5ft_104',['gf_gui_component_t',['../structgf__gui__component__t.html',1,'']]], - ['gf_5fgui_5fcomponent_5ftypes_105',['GF_GUI_COMPONENT_TYPES',['../gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03',1,'gui.h']]], - ['gf_5fgui_5fcreate_106',['gf_gui_create',['../gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1',1,'gf_gui.c']]], - ['gf_5fgui_5fcreate_5fbutton_107',['gf_gui_create_button',['../gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e',1,'gf_gui.c']]], - ['gf_5fgui_5fdraw_5fbox_108',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]], - ['gf_5fgui_5fevents_109',['GF_GUI_EVENTS',['../gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82',1,'gui.h']]], - ['gf_5fgui_5ffirst_5funused_110',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]], - ['gf_5fgui_5ffont_5fsize_111',['GF_GUI_FONT_SIZE',['../gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522',1,'gf_gui.h']]], - ['gf_5fgui_5fid_5ft_112',['gf_gui_id_t',['../gui_8h.html#a17ba559c53b849a8391b8f48d91b4f11',1,'gui.h']]], - ['gf_5fgui_5finvert_113',['GF_GUI_INVERT',['../gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5',1,'gf_gui.h']]], - ['gf_5fgui_5fmax_5fcomponents_114',['GF_GUI_MAX_COMPONENTS',['../gui_8h.html#a33770d9046d53ad607fcc938f1619eb8',1,'gui.h']]], - ['gf_5fgui_5fnormal_115',['GF_GUI_NORMAL',['../gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46',1,'gf_gui.h']]], - ['gf_5fgui_5frender_116',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]], - ['gf_5fgui_5fset_5fcallback_117',['gf_gui_set_callback',['../gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78',1,'gf_gui.c']]], - ['gf_5fgui_5ft_118',['gf_gui_t',['../structgf__gui__t.html',1,'']]], - ['gf_5fgui_5funion_5ft_119',['gf_gui_union_t',['../uniongf__gui__union__t.html',1,'']]], - ['gf_5finput_2eh_120',['gf_input.h',['../gf__input_8h.html',1,'']]], - ['gf_5finput_5fcreate_121',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]], - ['gf_5finput_5fdestroy_122',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]], - ['gf_5finput_5fmouse_5fleft_5fmask_123',['GF_INPUT_MOUSE_LEFT_MASK',['../input_8h.html#a9e633a7c5d0bd577a11243b397354588',1,'input.h']]], - ['gf_5finput_5fmouse_5fmiddle_5fmask_124',['GF_INPUT_MOUSE_MIDDLE_MASK',['../input_8h.html#a1bcb3fe6d407a1f4791efcbd86cffac9',1,'input.h']]], - ['gf_5finput_5fmouse_5fright_5fmask_125',['GF_INPUT_MOUSE_RIGHT_MASK',['../input_8h.html#aa131fcdb7b5d6864c62b32b86f702962',1,'input.h']]], - ['gf_5finput_5ft_126',['gf_input_t',['../structgf__input__t.html',1,'']]], - ['gf_5flog_127',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]], - ['gf_5flog_2eh_128',['gf_log.h',['../gf__log_8h.html',1,'']]], - ['gf_5flog_5ffunction_129',['gf_log_function',['../gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a',1,'gf_log.h']]], - ['gf_5fmacro_2eh_130',['gf_macro.h',['../gf__macro_8h.html',1,'']]], - ['gf_5fmath_2eh_131',['gf_math.h',['../gf__math_8h.html',1,'']]], - ['gf_5fmath_5fcot_132',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]], - ['gf_5fmath_5flog2_133',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]], - ['gf_5fmath_5fmultiply_134',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]], - ['gf_5fmath_5fnearest_5f2pow_135',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]], - ['gf_5fmath_5fnormal_136',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]], - ['gf_5fmath_5fnormalize_137',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]], - ['gf_5fmath_5fpi_138',['GF_MATH_PI',['../gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5',1,'gf_math.h']]], - ['gf_5fmath_5fsubtract_139',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]], - ['gf_5fmath_5fvector_5fcopy_140',['GF_MATH_VECTOR_COPY',['../gf__math_8h.html#a545245d1e846e9c756e776eb6138536b',1,'gf_math.h']]], - ['gf_5fmath_5fvector_5ft_141',['gf_math_vector_t',['../math_8h.html#a866f43b3ea5386cb9497738f1eec3d88',1,'math.h']]], - ['gf_5fmesh_2eh_142',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]], - ['gf_5fmesh_5ft_143',['gf_mesh_t',['../structgf__mesh__t.html',1,'']]], - ['gf_5fmesh_5ftriangle_5ft_144',['gf_mesh_triangle_t',['../structgf__mesh__triangle__t.html',1,'']]], - ['gf_5fmodel_2eh_145',['gf_model.h',['../gf__model_8h.html',1,'']]], - ['gf_5fmodel_5ft_146',['gf_model_t',['../structgf__model__t.html',1,'']]], - ['gf_5fopengl_2eh_147',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]], - ['gf_5fphysics_2eh_148',['gf_physics.h',['../gf__physics_8h.html',1,'']]], - ['gf_5fphysics_5fbegin_149',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]], - ['gf_5fphysics_5fcreate_150',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]], - ['gf_5fphysics_5fdestroy_151',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]], - ['gf_5fphysics_5fend_152',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]], - ['gf_5fphysics_5ft_153',['gf_physics_t',['../structgf__physics__t.html',1,'']]], - ['gf_5fpre_2eh_154',['gf_pre.h',['../gf__pre_8h.html',1,'']]], - ['gf_5fserver_2eh_155',['gf_server.h',['../gf__server_8h.html',1,'']]], - ['gf_5fserver_5fbegin_156',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]], - ['gf_5fserver_5fcreate_157',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]], - ['gf_5fserver_5fdestroy_158',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]], - ['gf_5fserver_5fend_159',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]], - ['gf_5fserver_5ft_160',['gf_server_t',['../structgf__server__t.html',1,'']]], - ['gf_5fset_5fcolor_161',['GF_SET_COLOR',['../gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203',1,'gf_graphic.h']]], - ['gf_5ftexture_2eh_162',['gf_texture.h',['../gf__texture_8h.html',1,'']]], - ['gf_5ftexture_5fcreate_163',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]], - ['gf_5ftexture_5fdestroy_164',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]], - ['gf_5ftexture_5ft_165',['gf_texture_t',['../structgf__texture__t.html',1,'']]], - ['gf_5fthread_2eh_166',['gf_thread.h',['../gf__thread_8h.html',1,'']]], - ['gf_5fthread_5fcontext_5ft_167',['gf_thread_context_t',['../structgf__thread__context__t.html',1,'']]], - ['gf_5fthread_5fcreate_168',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]], - ['gf_5fthread_5fdestroy_169',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]], - ['gf_5fthread_5fjoin_170',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]], - ['gf_5fthread_5ft_171',['gf_thread_t',['../structgf__thread__t.html',1,'']]], - ['gf_5fversion_2eh_172',['gf_version.h',['../gf__version_8h.html',1,'']]], - ['gf_5fversion_5fget_173',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]], - ['gf_5fversion_5ft_174',['gf_version_t',['../structgf__version__t.html',1,'']]], - ['glyph_175',['glyph',['../structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808',1,'gf_font_t']]], - ['goldfish_20engine_176',['GoldFish Engine',['../index.html',1,'']]], - ['graphic_2eh_177',['graphic.h',['../graphic_8h.html',1,'']]], - ['gui_178',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]], - ['gui_2eh_179',['gui.h',['../gui_8h.html',1,'']]] + ['gf_5ffont_5fcreate_5fraw_83',['gf_font_create_raw',['../gf__font_8h.html#af86714d251cadb9eb123fbc99acf8621',1,'gf_font.c']]], + ['gf_5ffont_5fdestroy_84',['gf_font_destroy',['../gf__font_8h.html#a2777beb54b042206a6873accb1333522',1,'gf_font.c']]], + ['gf_5ffont_5fget_85',['gf_font_get',['../gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1',1,'gf_font.c']]], + ['gf_5ffont_5fglyph_5ft_86',['gf_font_glyph_t',['../structgf__font__glyph__t.html',1,'']]], + ['gf_5ffont_5fstore_5ft_87',['gf_font_store_t',['../structgf__font__store__t.html',1,'']]], + ['gf_5ffont_5ft_88',['gf_font_t',['../structgf__font__t.html',1,'']]], + ['gf_5fgraphic_2eh_89',['gf_graphic.h',['../gf__graphic_8h.html',1,'']]], + ['gf_5fgraphic_5f2d_90',['GF_GRAPHIC_2D',['../gf__graphic_8h.html#ab0a76f61b9510881b842dbba4b0b54c0',1,'gf_graphic.h']]], + ['gf_5fgraphic_5f3d_91',['GF_GRAPHIC_3D',['../gf__graphic_8h.html#a0b9f704231aa067e58c6a8e7a42afdcf',1,'gf_graphic.h']]], + ['gf_5fgraphic_5fbegin_5f2d_92',['gf_graphic_begin_2d',['../gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fclear_93',['gf_graphic_clear',['../gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fcolor_5ft_94',['gf_graphic_color_t',['../structgf__graphic__color__t.html',1,'']]], + ['gf_5fgraphic_5fdraw_5ftexture_5f2d_95',['gf_graphic_draw_texture_2d',['../gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5fdraw_5ftexture_5fpolygon_96',['gf_graphic_draw_texture_polygon',['../gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fend_5f2d_97',['gf_graphic_end_2d',['../gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ffill_5fpolygon_98',['gf_graphic_fill_polygon',['../gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ffill_5frect_99',['gf_graphic_fill_rect',['../gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5fperspective_100',['gf_graphic_perspective',['../gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fset_5fcamera_101',['gf_graphic_set_camera',['../gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ftext_102',['gf_graphic_text',['../gf__graphic_8h.html#a9840372651011386f6851954e95e7943',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5ftext_5fwidth_103',['gf_graphic_text_width',['../gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1',1,'gf_graphic_common.c']]], + ['gf_5fgui_2eh_104',['gf_gui.h',['../gf__gui_8h.html',1,'']]], + ['gf_5fgui_5fbutton_5ft_105',['gf_gui_button_t',['../structgf__gui__button__t.html',1,'']]], + ['gf_5fgui_5fcomponent_5ft_106',['gf_gui_component_t',['../structgf__gui__component__t.html',1,'']]], + ['gf_5fgui_5fcomponent_5ftypes_107',['GF_GUI_COMPONENT_TYPES',['../gui_8h.html#a29f22c7359d8c3b586f0d4eb82213d03',1,'gui.h']]], + ['gf_5fgui_5fcreate_108',['gf_gui_create',['../gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1',1,'gf_gui.c']]], + ['gf_5fgui_5fcreate_5fbutton_109',['gf_gui_create_button',['../gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e',1,'gf_gui.c']]], + ['gf_5fgui_5fdestroy_110',['gf_gui_destroy',['../gf__gui_8h.html#ab8c8f2db437bffd27987005978c9a766',1,'gf_gui.c']]], + ['gf_5fgui_5fdestroy_5fid_111',['gf_gui_destroy_id',['../gf__gui_8h.html#afca0bddbe4a2ffefa86cf963cf0cc925',1,'gf_gui.c']]], + ['gf_5fgui_5fdraw_5fbox_112',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]], + ['gf_5fgui_5fevents_113',['GF_GUI_EVENTS',['../gui_8h.html#a7a5228e21a2d5c98d2b88d5e7bc97d82',1,'gui.h']]], + ['gf_5fgui_5ffirst_5funused_114',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]], + ['gf_5fgui_5ffont_5fsize_115',['GF_GUI_FONT_SIZE',['../gf__gui_8h.html#a59c22dec721b5a703d29e0b0d9fc3522',1,'gf_gui.h']]], + ['gf_5fgui_5fid_5ft_116',['gf_gui_id_t',['../gui_8h.html#a17ba559c53b849a8391b8f48d91b4f11',1,'gui.h']]], + ['gf_5fgui_5finvert_117',['GF_GUI_INVERT',['../gf__gui_8h.html#a01d6d034ff93d118bcbabf86f33735c5',1,'gf_gui.h']]], + ['gf_5fgui_5fmax_5fcomponents_118',['GF_GUI_MAX_COMPONENTS',['../gui_8h.html#a33770d9046d53ad607fcc938f1619eb8',1,'gui.h']]], + ['gf_5fgui_5fnormal_119',['GF_GUI_NORMAL',['../gf__gui_8h.html#ad122969dc187a91908fc312f185eaa46',1,'gf_gui.h']]], + ['gf_5fgui_5frender_120',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]], + ['gf_5fgui_5fset_5fcallback_121',['gf_gui_set_callback',['../gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78',1,'gf_gui.c']]], + ['gf_5fgui_5ft_122',['gf_gui_t',['../structgf__gui__t.html',1,'']]], + ['gf_5fgui_5funion_5ft_123',['gf_gui_union_t',['../uniongf__gui__union__t.html',1,'']]], + ['gf_5finput_2eh_124',['gf_input.h',['../gf__input_8h.html',1,'']]], + ['gf_5finput_5fcreate_125',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]], + ['gf_5finput_5fdestroy_126',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]], + ['gf_5finput_5fmouse_5fleft_5fmask_127',['GF_INPUT_MOUSE_LEFT_MASK',['../input_8h.html#a9e633a7c5d0bd577a11243b397354588',1,'input.h']]], + ['gf_5finput_5fmouse_5fmiddle_5fmask_128',['GF_INPUT_MOUSE_MIDDLE_MASK',['../input_8h.html#a1bcb3fe6d407a1f4791efcbd86cffac9',1,'input.h']]], + ['gf_5finput_5fmouse_5fright_5fmask_129',['GF_INPUT_MOUSE_RIGHT_MASK',['../input_8h.html#aa131fcdb7b5d6864c62b32b86f702962',1,'input.h']]], + ['gf_5finput_5ft_130',['gf_input_t',['../structgf__input__t.html',1,'']]], + ['gf_5flog_131',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]], + ['gf_5flog_2eh_132',['gf_log.h',['../gf__log_8h.html',1,'']]], + ['gf_5flog_5ffunction_133',['gf_log_function',['../gf__log_8h.html#a165a2d1cecbdd974b4a44450011bb84a',1,'gf_log.h']]], + ['gf_5fmacro_2eh_134',['gf_macro.h',['../gf__macro_8h.html',1,'']]], + ['gf_5fmath_2eh_135',['gf_math.h',['../gf__math_8h.html',1,'']]], + ['gf_5fmath_5fcot_136',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]], + ['gf_5fmath_5flog2_137',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]], + ['gf_5fmath_5fmultiply_138',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]], + ['gf_5fmath_5fnearest_5f2pow_139',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]], + ['gf_5fmath_5fnormal_140',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]], + ['gf_5fmath_5fnormalize_141',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]], + ['gf_5fmath_5fpi_142',['GF_MATH_PI',['../gf__math_8h.html#a8bf10c0638a206ac572807e90508b6b5',1,'gf_math.h']]], + ['gf_5fmath_5fsubtract_143',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]], + ['gf_5fmath_5fvector_5fcopy_144',['GF_MATH_VECTOR_COPY',['../gf__math_8h.html#a545245d1e846e9c756e776eb6138536b',1,'gf_math.h']]], + ['gf_5fmath_5fvector_5ft_145',['gf_math_vector_t',['../math_8h.html#a866f43b3ea5386cb9497738f1eec3d88',1,'math.h']]], + ['gf_5fmesh_2eh_146',['gf_mesh.h',['../gf__mesh_8h.html',1,'']]], + ['gf_5fmesh_5ft_147',['gf_mesh_t',['../structgf__mesh__t.html',1,'']]], + ['gf_5fmesh_5ftriangle_5ft_148',['gf_mesh_triangle_t',['../structgf__mesh__triangle__t.html',1,'']]], + ['gf_5fmodel_2eh_149',['gf_model.h',['../gf__model_8h.html',1,'']]], + ['gf_5fmodel_5ft_150',['gf_model_t',['../structgf__model__t.html',1,'']]], + ['gf_5fopengl_2eh_151',['gf_opengl.h',['../gf__opengl_8h.html',1,'']]], + ['gf_5fphysics_2eh_152',['gf_physics.h',['../gf__physics_8h.html',1,'']]], + ['gf_5fphysics_5fbegin_153',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]], + ['gf_5fphysics_5fcreate_154',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]], + ['gf_5fphysics_5fdestroy_155',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]], + ['gf_5fphysics_5fend_156',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]], + ['gf_5fphysics_5ft_157',['gf_physics_t',['../structgf__physics__t.html',1,'']]], + ['gf_5fpre_2eh_158',['gf_pre.h',['../gf__pre_8h.html',1,'']]], + ['gf_5fserver_2eh_159',['gf_server.h',['../gf__server_8h.html',1,'']]], + ['gf_5fserver_5fbegin_160',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]], + ['gf_5fserver_5fcreate_161',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]], + ['gf_5fserver_5fdestroy_162',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]], + ['gf_5fserver_5fend_163',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]], + ['gf_5fserver_5ft_164',['gf_server_t',['../structgf__server__t.html',1,'']]], + ['gf_5fset_5fcolor_165',['GF_SET_COLOR',['../gf__graphic_8h.html#a30c57cf06829cfb3f68556e73a86b203',1,'gf_graphic.h']]], + ['gf_5ftexture_2eh_166',['gf_texture.h',['../gf__texture_8h.html',1,'']]], + ['gf_5ftexture_5fcreate_167',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]], + ['gf_5ftexture_5fdestroy_168',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]], + ['gf_5ftexture_5ft_169',['gf_texture_t',['../structgf__texture__t.html',1,'']]], + ['gf_5fthread_2eh_170',['gf_thread.h',['../gf__thread_8h.html',1,'']]], + ['gf_5fthread_5fcontext_5ft_171',['gf_thread_context_t',['../structgf__thread__context__t.html',1,'']]], + ['gf_5fthread_5fcreate_172',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]], + ['gf_5fthread_5fdestroy_173',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]], + ['gf_5fthread_5fjoin_174',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]], + ['gf_5fthread_5ft_175',['gf_thread_t',['../structgf__thread__t.html',1,'']]], + ['gf_5fversion_2eh_176',['gf_version.h',['../gf__version_8h.html',1,'']]], + ['gf_5fversion_5fget_177',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]], + ['gf_5fversion_5ft_178',['gf_version_t',['../structgf__version__t.html',1,'']]], + ['glyph_179',['glyph',['../structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808',1,'gf_font_t']]], + ['glyph_5findex_180',['glyph_index',['../structgf__font__store__t.html#a3fb7b9dda717b2b8452a3d8d48c8cc6c',1,'gf_font_store_t']]], + ['goldfish_20engine_181',['GoldFish Engine',['../index.html',1,'']]], + ['graphic_2eh_182',['graphic.h',['../graphic_8h.html',1,'']]], + ['gui_183',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]], + ['gui_2eh_184',['gui.h',['../gui_8h.html',1,'']]] ]; diff --git a/engine/search/functions_0.js b/engine/search/functions_0.js index b3e2fdd..fa75259 100644 --- a/engine/search/functions_0.js +++ b/engine/search/functions_0.js @@ -44,46 +44,50 @@ var searchData= ['gf_5fengine_5fend_41',['gf_engine_end',['../gf__core_8h.html#abae48921e84f92d590608745536a9ffc',1,'gf_core.c']]], ['gf_5fengine_5floop_42',['gf_engine_loop',['../gf__core_8h.html#aa9a229aa7c06d1a02ae89f93b8029fea',1,'gf_core.c']]], ['gf_5ffont_5fcreate_43',['gf_font_create',['../gf__font_8h.html#a0d171fe12d2ac1d3acc18476436608a1',1,'gf_font.c']]], - ['gf_5ffont_5fget_44',['gf_font_get',['../gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1',1,'gf_font.c']]], - ['gf_5fgraphic_5fbegin_5f2d_45',['gf_graphic_begin_2d',['../gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fclear_46',['gf_graphic_clear',['../gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fdraw_5ftexture_5f2d_47',['gf_graphic_draw_texture_2d',['../gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5fdraw_5ftexture_5fpolygon_48',['gf_graphic_draw_texture_polygon',['../gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fend_5f2d_49',['gf_graphic_end_2d',['../gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ffill_5fpolygon_50',['gf_graphic_fill_polygon',['../gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ffill_5frect_51',['gf_graphic_fill_rect',['../gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5fperspective_52',['gf_graphic_perspective',['../gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d',1,'gf_graphic.c']]], - ['gf_5fgraphic_5fset_5fcamera_53',['gf_graphic_set_camera',['../gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883',1,'gf_graphic.c']]], - ['gf_5fgraphic_5ftext_54',['gf_graphic_text',['../gf__graphic_8h.html#a9840372651011386f6851954e95e7943',1,'gf_graphic_common.c']]], - ['gf_5fgraphic_5ftext_5fwidth_55',['gf_graphic_text_width',['../gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1',1,'gf_graphic_common.c']]], - ['gf_5fgui_5fcreate_56',['gf_gui_create',['../gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1',1,'gf_gui.c']]], - ['gf_5fgui_5fcreate_5fbutton_57',['gf_gui_create_button',['../gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e',1,'gf_gui.c']]], - ['gf_5fgui_5fdraw_5fbox_58',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]], - ['gf_5fgui_5ffirst_5funused_59',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]], - ['gf_5fgui_5frender_60',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]], - ['gf_5fgui_5fset_5fcallback_61',['gf_gui_set_callback',['../gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78',1,'gf_gui.c']]], - ['gf_5finput_5fcreate_62',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]], - ['gf_5finput_5fdestroy_63',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]], - ['gf_5flog_64',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]], - ['gf_5fmath_5fcot_65',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]], - ['gf_5fmath_5flog2_66',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]], - ['gf_5fmath_5fmultiply_67',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]], - ['gf_5fmath_5fnearest_5f2pow_68',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]], - ['gf_5fmath_5fnormal_69',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]], - ['gf_5fmath_5fnormalize_70',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]], - ['gf_5fmath_5fsubtract_71',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]], - ['gf_5fphysics_5fbegin_72',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]], - ['gf_5fphysics_5fcreate_73',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]], - ['gf_5fphysics_5fdestroy_74',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]], - ['gf_5fphysics_5fend_75',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]], - ['gf_5fserver_5fbegin_76',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]], - ['gf_5fserver_5fcreate_77',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]], - ['gf_5fserver_5fdestroy_78',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]], - ['gf_5fserver_5fend_79',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]], - ['gf_5ftexture_5fcreate_80',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]], - ['gf_5ftexture_5fdestroy_81',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]], - ['gf_5fthread_5fcreate_82',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]], - ['gf_5fthread_5fdestroy_83',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]], - ['gf_5fthread_5fjoin_84',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]], - ['gf_5fversion_5fget_85',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]] + ['gf_5ffont_5fcreate_5fraw_44',['gf_font_create_raw',['../gf__font_8h.html#af86714d251cadb9eb123fbc99acf8621',1,'gf_font.c']]], + ['gf_5ffont_5fdestroy_45',['gf_font_destroy',['../gf__font_8h.html#a2777beb54b042206a6873accb1333522',1,'gf_font.c']]], + ['gf_5ffont_5fget_46',['gf_font_get',['../gf__font_8h.html#adc4a1d10e49218c6383f5af6c4752fa1',1,'gf_font.c']]], + ['gf_5fgraphic_5fbegin_5f2d_47',['gf_graphic_begin_2d',['../gf__graphic_8h.html#ad35db673e213edbadbfd938138c88a4c',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fclear_48',['gf_graphic_clear',['../gf__graphic_8h.html#a74f8bf7e2fc346f7d85ecfcea061f3fb',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fdraw_5ftexture_5f2d_49',['gf_graphic_draw_texture_2d',['../gf__graphic_8h.html#a3285370a495233cc7db4f25317cd5fb0',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5fdraw_5ftexture_5fpolygon_50',['gf_graphic_draw_texture_polygon',['../gf__graphic_8h.html#a4157822cc342fa294329ed2c436d53f2',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fend_5f2d_51',['gf_graphic_end_2d',['../gf__graphic_8h.html#acd5d3047cf76b63b2d1161e4e880f446',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ffill_5fpolygon_52',['gf_graphic_fill_polygon',['../gf__graphic_8h.html#a8ff780a4bcadc008355699101d2a42cc',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ffill_5frect_53',['gf_graphic_fill_rect',['../gf__graphic_8h.html#a4811198de205914602e5cdbafdcdd68d',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5fperspective_54',['gf_graphic_perspective',['../gf__graphic_8h.html#a95e7c86d8e9b64501af7de7268f6d74d',1,'gf_graphic.c']]], + ['gf_5fgraphic_5fset_5fcamera_55',['gf_graphic_set_camera',['../gf__graphic_8h.html#af8285b506b90125960bf01b427a9a883',1,'gf_graphic.c']]], + ['gf_5fgraphic_5ftext_56',['gf_graphic_text',['../gf__graphic_8h.html#a9840372651011386f6851954e95e7943',1,'gf_graphic_common.c']]], + ['gf_5fgraphic_5ftext_5fwidth_57',['gf_graphic_text_width',['../gf__graphic_8h.html#a996f203bc791922f639ad2e02b5299c1',1,'gf_graphic_common.c']]], + ['gf_5fgui_5fcreate_58',['gf_gui_create',['../gf__gui_8h.html#a929e99bf9dd58e4abc0c9f2a6b1341a1',1,'gf_gui.c']]], + ['gf_5fgui_5fcreate_5fbutton_59',['gf_gui_create_button',['../gf__gui_8h.html#a9bfb5fc1e4dff3c3f0e4748d5b8c3c2e',1,'gf_gui.c']]], + ['gf_5fgui_5fdestroy_60',['gf_gui_destroy',['../gf__gui_8h.html#ab8c8f2db437bffd27987005978c9a766',1,'gf_gui.c']]], + ['gf_5fgui_5fdestroy_5fid_61',['gf_gui_destroy_id',['../gf__gui_8h.html#afca0bddbe4a2ffefa86cf963cf0cc925',1,'gf_gui.c']]], + ['gf_5fgui_5fdraw_5fbox_62',['gf_gui_draw_box',['../gf__gui_8h.html#a670ac29a4409cc16c8d77f2d33ccc499',1,'gf_gui.c']]], + ['gf_5fgui_5ffirst_5funused_63',['gf_gui_first_unused',['../gf__gui_8h.html#a39fc0e9d0e6ebaf3d60e1275008124b5',1,'gf_gui.c']]], + ['gf_5fgui_5frender_64',['gf_gui_render',['../gf__gui_8h.html#a41f221ae3b2221553f49678f9434976c',1,'gf_gui.c']]], + ['gf_5fgui_5fset_5fcallback_65',['gf_gui_set_callback',['../gf__gui_8h.html#ac4dbc67180bd8f83906b16fc268a8e78',1,'gf_gui.c']]], + ['gf_5finput_5fcreate_66',['gf_input_create',['../gf__input_8h.html#ac926a70928c687f96cfbc24aef8ca96d',1,'gf_input.c']]], + ['gf_5finput_5fdestroy_67',['gf_input_destroy',['../gf__input_8h.html#ac4a22f8231c87a464f6be7faead5dec2',1,'gf_input.c']]], + ['gf_5flog_68',['gf_log',['../gf__log_8h.html#aed92dc232c3ae9cabdff1eeea67dfa90',1,'gf_log.c']]], + ['gf_5fmath_5fcot_69',['gf_math_cot',['../gf__math_8h.html#aac8f6a22f2880f5b86b20a191a662333',1,'gf_math.c']]], + ['gf_5fmath_5flog2_70',['gf_math_log2',['../gf__math_8h.html#a018423cb05adf480f9c3f28f304d1c47',1,'gf_math.c']]], + ['gf_5fmath_5fmultiply_71',['gf_math_multiply',['../gf__math_8h.html#a394ebd35e2cddf28c86a45dad759fbee',1,'gf_math.c']]], + ['gf_5fmath_5fnearest_5f2pow_72',['gf_math_nearest_2pow',['../gf__math_8h.html#aefea2441e869786726095fcda71750dc',1,'gf_math.c']]], + ['gf_5fmath_5fnormal_73',['gf_math_normal',['../gf__math_8h.html#a5438b2f7f1324cdd664f2b823faa1ba6',1,'gf_math.c']]], + ['gf_5fmath_5fnormalize_74',['gf_math_normalize',['../gf__math_8h.html#a3bd2afc9ff0e67e60afef9fe82553726',1,'gf_math.c']]], + ['gf_5fmath_5fsubtract_75',['gf_math_subtract',['../gf__math_8h.html#a9df6d1b30bea0b200582e2873bddd113',1,'gf_math.c']]], + ['gf_5fphysics_5fbegin_76',['gf_physics_begin',['../gf__physics_8h.html#a046ff3b6d3842c4cfd2c43ec576b09c6',1,'gf_physics.c']]], + ['gf_5fphysics_5fcreate_77',['gf_physics_create',['../gf__physics_8h.html#a7e225db0a916463d791036c4d8636993',1,'gf_physics.c']]], + ['gf_5fphysics_5fdestroy_78',['gf_physics_destroy',['../gf__physics_8h.html#ad9f65aa74657b4558c67f809c590fad3',1,'gf_physics.c']]], + ['gf_5fphysics_5fend_79',['gf_physics_end',['../gf__physics_8h.html#a5724da53e501775d4a0faad3c91f1a14',1,'gf_physics.c']]], + ['gf_5fserver_5fbegin_80',['gf_server_begin',['../gf__server_8h.html#a656e41de75a97731bffa1653fc2c8d4a',1,'gf_server.c']]], + ['gf_5fserver_5fcreate_81',['gf_server_create',['../gf__server_8h.html#a861aac514f048d33ce16e3209e125df5',1,'gf_server.c']]], + ['gf_5fserver_5fdestroy_82',['gf_server_destroy',['../gf__server_8h.html#afedff111b1691c5973e264ce4f6a3787',1,'gf_server.c']]], + ['gf_5fserver_5fend_83',['gf_server_end',['../gf__server_8h.html#a9f44e37cb5becfe321b352f8801fe22e',1,'gf_server.c']]], + ['gf_5ftexture_5fcreate_84',['gf_texture_create',['../gf__texture_8h.html#a6cd0c41bfc9dbe140bb52f39aaa14080',1,'gf_texture.c']]], + ['gf_5ftexture_5fdestroy_85',['gf_texture_destroy',['../gf__texture_8h.html#a3bfedc6c576e35173d3a7b1b9565e649',1,'gf_texture.c']]], + ['gf_5fthread_5fcreate_86',['gf_thread_create',['../gf__thread_8h.html#ad2a42aa3c8b51ec7e22625e8932906a4',1,'gf_thread.c']]], + ['gf_5fthread_5fdestroy_87',['gf_thread_destroy',['../gf__thread_8h.html#ae75b99ee6c28e149e333512f46e8656a',1,'gf_thread.c']]], + ['gf_5fthread_5fjoin_88',['gf_thread_join',['../gf__thread_8h.html#a168bd57321daded0d1789442e5680dea',1,'gf_thread.c']]], + ['gf_5fversion_5fget_89',['gf_version_get',['../gf__version_8h.html#a6bbaecc50f6c677871dcf74d7d7dbc4a',1,'gf_version.c']]] ]; diff --git a/engine/search/variables_1.js b/engine/search/variables_1.js index 5e8216d..dd24922 100644 --- a/engine/search/variables_1.js +++ b/engine/search/variables_1.js @@ -4,5 +4,6 @@ var searchData= ['backend_1',['backend',['../structgf__version__t.html#a2a478dbfcd02eaead8b77aad204cfc0d',1,'gf_version_t']]], ['bbox_2',['bbox',['../structgf__font__glyph__t.html#a9171039b0372c9015bb350b080e1bf76',1,'gf_font_glyph_t::bbox'],['../structgf__font__t.html#ac292451fd0d28bbdb6fb21efb3b8714c',1,'gf_font_t::bbox']]], ['bpl_3',['bpl',['../structgf__font__glyph__t.html#afc5f183e4ec96688eaa5273e058b06f9',1,'gf_font_glyph_t']]], - ['button_4',['button',['../uniongf__gui__union__t.html#a35c5cf94acf5b2158389f19578ee9ad7',1,'gf_gui_union_t']]] + ['buffer_4',['buffer',['../structgf__font__store__t.html#ae05d63dafdae1b5af0074e21ca58f520',1,'gf_font_store_t']]], + ['button_5',['button',['../uniongf__gui__union__t.html#a35c5cf94acf5b2158389f19578ee9ad7',1,'gf_gui_union_t']]] ]; diff --git a/engine/search/variables_6.js b/engine/search/variables_6.js index d132496..60410bd 100644 --- a/engine/search/variables_6.js +++ b/engine/search/variables_6.js @@ -2,5 +2,6 @@ var searchData= [ ['g_0',['g',['../structgf__graphic__color__t.html#a0f0a24017b41658518516306c7e19acf',1,'gf_graphic_color_t']]], ['glyph_1',['glyph',['../structgf__font__t.html#a1264a95b11cec574d66cda5f57de1808',1,'gf_font_t']]], - ['gui_2',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]] + ['glyph_5findex_2',['glyph_index',['../structgf__font__store__t.html#a3fb7b9dda717b2b8452a3d8d48c8cc6c',1,'gf_font_store_t']]], + ['gui_3',['gui',['../structgf__draw__t.html#a5db50986159b8a2b1736aa315a5d8063',1,'gf_draw_t']]] ]; diff --git a/engine/structgf__font__bbox__t.html b/engine/structgf__font__bbox__t.html index 383304f..3ed4b13 100644 --- a/engine/structgf__font__bbox__t.html +++ b/engine/structgf__font__bbox__t.html @@ -120,7 +120,7 @@ Data Fields

    Detailed Description

    Bounding box.

    -

    Definition at line 47 of file font.h.

    +

    Definition at line 67 of file font.h.

    Field Documentation

    ◆ height

    @@ -136,7 +136,7 @@ Data Fields

    Height.

    -

    Definition at line 47 of file font.h.

    +

    Definition at line 67 of file font.h.

    @@ -154,7 +154,7 @@ Data Fields

    Width.

    -

    Definition at line 47 of file font.h.

    +

    Definition at line 67 of file font.h.

    @@ -172,7 +172,7 @@ Data Fields

    X coord.

    -

    Definition at line 47 of file font.h.

    +

    Definition at line 67 of file font.h.

    @@ -190,7 +190,7 @@ Data Fields

    Y coord.

    -

    Definition at line 47 of file font.h.

    +

    Definition at line 67 of file font.h.

    diff --git a/engine/structgf__font__glyph__t.html b/engine/structgf__font__glyph__t.html index 5694416..e507a02 100644 --- a/engine/structgf__font__glyph__t.html +++ b/engine/structgf__font__glyph__t.html @@ -123,7 +123,7 @@ Data Fields

    Detailed Description

    Glyph.

    -

    Definition at line 75 of file font.h.

    +

    Definition at line 95 of file font.h.

    Field Documentation

    ◆ bbox

    @@ -139,7 +139,7 @@ Data Fields

    Bounding box.

    -

    Definition at line 75 of file font.h.

    +

    Definition at line 95 of file font.h.

    @@ -157,7 +157,7 @@ Data Fields

    Bytes per line.

    -

    Definition at line 75 of file font.h.

    +

    Definition at line 95 of file font.h.

    @@ -175,7 +175,7 @@ Data Fields

    Character code.

    -

    Definition at line 75 of file font.h.

    +

    Definition at line 95 of file font.h.

    @@ -193,7 +193,7 @@ Data Fields

    Device width.

    -

    Definition at line 75 of file font.h.

    +

    Definition at line 95 of file font.h.

    @@ -211,7 +211,7 @@ Data Fields

    Texture.

    -

    Definition at line 75 of file font.h.

    +

    Definition at line 95 of file font.h.

    diff --git a/engine/structgf__font__store__t.html b/engine/structgf__font__store__t.html index 2c43fe7..2c80bcc 100644 --- a/engine/structgf__font__store__t.html +++ b/engine/structgf__font__store__t.html @@ -96,49 +96,62 @@ $(document).ready(function(){initNavTree('structgf__font__store__t.html',''); in
    gf_font_store_t Struct Reference
    + +

    Internal struct used for parsing. + More...

    + +

    #include <gf_type/font.h>

    - - + + + - - + + +

    Data Fields

    int glyph_index
     
    int glyph_index
     Current glyph index.
     
    int line_index
     
    unsigned char * buffer
     
    unsigned char * buffer
     Glyph buffer.
     

    Detailed Description

    -
    -

    Definition at line 41 of file gf_font.c.

    +

    Internal struct used for parsing.

    + +

    Definition at line 43 of file font.h.

    Field Documentation

    - -

    ◆ buffer

    + +

    ◆ buffer

    - +
    unsigned char* gf_font_store_t::buffergf_font_store_t::buffer
    -

    Definition at line 41 of file gf_font.c.

    +

    Glyph buffer.

    + +

    Definition at line 43 of file font.h.

    - -

    ◆ glyph_index

    + +

    ◆ glyph_index

    - +
    int gf_font_store_t::glyph_indexgf_font_store_t::glyph_index
    -

    Definition at line 41 of file gf_font.c.

    +

    Current glyph index.

    +

    Current line index of glyph.

    + +

    Definition at line 43 of file font.h.

    @@ -154,12 +167,12 @@ Data Fields
    -

    Definition at line 41 of file gf_font.c.

    +

    Definition at line 43 of file font.h.


    The documentation for this struct was generated from the following file: diff --git a/engine/structgf__font__store__t.js b/engine/structgf__font__store__t.js new file mode 100644 index 0000000..2b1c0ba --- /dev/null +++ b/engine/structgf__font__store__t.js @@ -0,0 +1,5 @@ +var structgf__font__store__t = +[ + [ "buffer", "structgf__font__store__t.html#ae05d63dafdae1b5af0074e21ca58f520", null ], + [ "glyph_index", "structgf__font__store__t.html#a3fb7b9dda717b2b8452a3d8d48c8cc6c", null ] +]; \ No newline at end of file diff --git a/engine/structgf__font__t.html b/engine/structgf__font__t.html index a64415d..af6f60f 100644 --- a/engine/structgf__font__t.html +++ b/engine/structgf__font__t.html @@ -117,7 +117,7 @@ Data Fields

    Detailed Description

    Font.

    -

    Definition at line 95 of file font.h.

    +

    Definition at line 115 of file font.h.

    Field Documentation

    ◆ bbox

    @@ -133,7 +133,7 @@ Data Fields

    Bounding box.

    -

    Definition at line 95 of file font.h.

    +

    Definition at line 115 of file font.h.

    @@ -151,7 +151,7 @@ Data Fields

    Glyph count.

    -

    Definition at line 95 of file font.h.

    +

    Definition at line 115 of file font.h.

    @@ -169,7 +169,7 @@ Data Fields

    Glyph data.

    -

    Definition at line 95 of file font.h.

    +

    Definition at line 115 of file font.h.