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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/text.h b/src/ui/text.h
index 897dfed0..606096b6 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -192,6 +192,8 @@ enum iAlignment {
192 192
193void setOpacity_Text (float opacity); 193void setOpacity_Text (float opacity);
194 194
195void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */
196
195void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...); 197void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...);
196void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...); 198void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...);
197void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...); 199void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...);