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.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/ui/text.h b/src/ui/text.h
index 3dc38238..0007b264 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -157,14 +157,15 @@ void setOpacity_Text (float opacity);
157 157
158void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */ 158void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */
159 159
160void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...); 160void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...);
161void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...); 161void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...);
162void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...); 162void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...);
163void drawString_Text (int fontId, iInt2 pos, int color, const iString *text); 163void drawCenteredRange_Text (int fontId, iRect rect, iBool alignVisual, int color, iRangecc text);
164void drawRange_Text (int fontId, iInt2 pos, int color, iRangecc text); 164void drawString_Text (int fontId, iInt2 pos, int color, const iString *text);
165void drawRangeN_Text (int fontId, iInt2 pos, int color, iRangecc text, size_t maxLen); 165void drawRange_Text (int fontId, iInt2 pos, int color, iRangecc text);
166void drawBoundRange_Text (int fontId, iInt2 pos, int boundWidth, int color, iRangecc text); /* bound does not wrap */ 166void drawRangeN_Text (int fontId, iInt2 pos, int color, iRangecc text, size_t maxLen);
167int drawWrapRange_Text (int fontId, iInt2 pos, int maxWidth, int color, iRangecc text); /* returns new Y */ 167void drawBoundRange_Text (int fontId, iInt2 pos, int boundWidth, int color, iRangecc text); /* bound does not wrap */
168int drawWrapRange_Text (int fontId, iInt2 pos, int maxWidth, int color, iRangecc text); /* returns new Y */
168 169
169SDL_Texture * glyphCache_Text (void); 170SDL_Texture * glyphCache_Text (void);
170 171