aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-08 19:07:13 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-08 19:07:13 +0100
commit840b87c42bb55ae6f47acc7576b3b40af4c6a68c (patch)
treed2c9f51f2ab84e88f2edcd8e3d3efcc1b4d38454 /include
parentc2219fdf1f741a33f415124459de69054313de57 (diff)
Fix emoji drawn outside border when max lines set, username autocomplete caret not moving to end of text, multiple images on the same page with different sizes (downscaled)
Diffstat (limited to 'include')
-rw-r--r--include/Text.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index 601f1a2..daf0d46 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -172,6 +172,7 @@ namespace QuickMedia
float font_get_real_height(mgl::Font *font);
float get_text_quad_left_side(const VertexRef &vertex_ref) const;
float get_text_quad_right_side(const VertexRef &vertex_ref) const;
+ float get_text_quad_bottom_side(const VertexRef &vertex_ref) const;
// If the index is past the end, then the caret offset is the right side of the last character, rather than the left side
float get_caret_offset_by_caret_index(int index) const;
VertexRef& get_vertex_ref_clamp(int index);