diff options
Diffstat (limited to 'src/ui/text.h')
-rw-r--r-- | src/ui/text.h | 3 |
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); | |||
32 | int lineHeight_Text (int font); | 32 | int lineHeight_Text (int font); |
33 | iInt2 measure_Text (int font, const char *text); | 33 | iInt2 measure_Text (int font, const char *text); |
34 | iInt2 advance_Text (int font, const char *text); | 34 | iInt2 advance_Text (int font, const char *text); |
35 | iInt2 advanceN_Text (int font, const char *text, size_t n); | 35 | iInt2 advanceN_Text (int font, const char *text, size_t n); /* `n` in characters */ |
36 | 36 | ||
37 | void draw_Text (int font, iInt2 pos, int color, const char *text, ...); /* negative pos to switch alignment */ | 37 | void draw_Text (int font, iInt2 pos, int color, const char *text, ...); /* negative pos to switch alignment */ |
38 | void drawString_Text (int font, iInt2 pos, int color, const iString *text); | ||
38 | void drawCentered_Text (int font, iRect rect, int color, const char *text, ...); | 39 | void drawCentered_Text (int font, iRect rect, int color, const char *text, ...); |
39 | 40 | ||
40 | SDL_Texture * glyphCache_Text (void); | 41 | SDL_Texture * glyphCache_Text (void); |