aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgl/graphics')
-rw-r--r--include/mgl/graphics/font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mgl/graphics/font.h b/include/mgl/graphics/font.h
index 6b10feb..55d364f 100644
--- a/include/mgl/graphics/font.h
+++ b/include/mgl/graphics/font.h
@@ -22,6 +22,8 @@ typedef struct {
int prev_height;
mgl_vec2i pointer_position;
mgl_font_atlas_render_section render_section;
+ int initial_section_height;
+ int right_section_height;
} mgl_font_atlas;
struct mgl_font {
@@ -30,6 +32,7 @@ struct mgl_font {
mgl_font_atlas font_atlas;
unsigned int character_size;
mgl_font_char_map char_map;
+ int current_line_max_height;
void *font_info;
};