summaryrefslogtreecommitdiff
path: root/src/ui/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/text.h')
-rw-r--r--src/ui/text.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/text.h b/src/ui/text.h
index b689582e..85cd39cf 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -32,9 +32,10 @@ void deinit_Text (void);
32int lineHeight_Text (int font); 32int lineHeight_Text (int font);
33iInt2 measure_Text (int font, const char *text); 33iInt2 measure_Text (int font, const char *text);
34iInt2 advance_Text (int font, const char *text); 34iInt2 advance_Text (int font, const char *text);
35iInt2 advanceN_Text (int font, const char *text, size_t n); 35iInt2 advanceN_Text (int font, const char *text, size_t n); /* `n` in characters */
36 36
37void draw_Text (int font, iInt2 pos, int color, const char *text, ...); /* negative pos to switch alignment */ 37void draw_Text (int font, iInt2 pos, int color, const char *text, ...); /* negative pos to switch alignment */
38void drawString_Text (int font, iInt2 pos, int color, const iString *text);
38void drawCentered_Text (int font, iRect rect, int color, const char *text, ...); 39void drawCentered_Text (int font, iRect rect, int color, const char *text, ...);
39 40
40SDL_Texture * glyphCache_Text (void); 41SDL_Texture * glyphCache_Text (void);