summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-06 11:52:30 -0500
committerpommicket <pommicket@gmail.com>2023-01-06 11:52:30 -0500
commitd69fb12c055e1e17c765ca9714c508552a027384 (patch)
tree41073af13fdf014cc7d630c6aa4b5593fea16a42 /text.h
parent268aba5dde93b67df5f5bd137141eeb177485685 (diff)
phantom completions
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.h b/text.h
index e5e5e61..2d7429d 100644
--- a/text.h
+++ b/text.h
@@ -60,7 +60,7 @@ float text_font_char_width(Font *font);
void text_font_set_force_monospace(Font *font, bool force);
// Get the dimensions of some text.
void text_get_size(Font *font, const char *text, float *width, float *height);
-vec2 text_get_size_v2(Font *font, const char *text);
+vec2 text_get_size_vec2(Font *font, const char *text);
void text_get_size32(Font *font, const char32_t *text, u64 len, float *width, float *height);
void text_utf8(Font *font, const char *text, double x, double y, u32 color);
void text_utf8_anchored(Font *font, const char *text, double x, double y, u32 color, Anchor anchor);