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 95d49fda..f165c5b4 100644 --- a/src/ui/text.h +++ b/src/ui/text.h | |||
@@ -50,6 +50,7 @@ void deinit_Text (void); | |||
50 | int lineHeight_Text (int fontId); | 50 | int lineHeight_Text (int fontId); |
51 | iInt2 measure_Text (int fontId, const char *text); | 51 | iInt2 measure_Text (int fontId, const char *text); |
52 | iInt2 measureRange_Text (int fontId, iRangecc text); | 52 | iInt2 measureRange_Text (int fontId, iRangecc text); |
53 | iRect visualBounds_Text (int fontId, iRangecc text); | ||
53 | iInt2 advance_Text (int fontId, const char *text); | 54 | iInt2 advance_Text (int fontId, const char *text); |
54 | iInt2 advanceN_Text (int fontId, const char *text, size_t n); /* `n` in characters */ | 55 | iInt2 advanceN_Text (int fontId, const char *text, size_t n); /* `n` in characters */ |
55 | iInt2 advanceRange_Text (int fontId, iRangecc text); | 56 | iInt2 advanceRange_Text (int fontId, iRangecc text); |
@@ -65,7 +66,7 @@ enum iAlignment { | |||
65 | 66 | ||
66 | void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...); | 67 | void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...); |
67 | void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...); | 68 | void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...); |
68 | void drawCentered_Text (int fontId, iRect rect, int color, const char *text, ...); | 69 | void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...); |
69 | void drawString_Text (int fontId, iInt2 pos, int color, const iString *text); | 70 | void drawString_Text (int fontId, iInt2 pos, int color, const iString *text); |
70 | 71 | ||
71 | SDL_Texture * glyphCache_Text (void); | 72 | SDL_Texture * glyphCache_Text (void); |