summaryrefslogtreecommitdiff
path: root/src/ui/text.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-22 11:36:31 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-22 11:36:31 +0300
commitc6182b6b4158a3227546ae55895b72a326db19fb (patch)
tree8841cf408132a55959916384309b5daab844e11a /src/ui/text.h
parentf55e327bdcdefc1c130febcc8f3a03062fba782e (diff)
Drawing with alpha blending
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 7dc4aa38..71c2ba43 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -130,6 +130,8 @@ enum iAlignment {
130 right_Alignment, 130 right_Alignment,
131}; 131};
132 132
133void setOpacity_Text (float opacity);
134
133void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...); 135void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...);
134void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...); 136void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...);
135void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...); 137void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...);