diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-22 11:36:31 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-22 11:36:31 +0300 |
commit | c6182b6b4158a3227546ae55895b72a326db19fb (patch) | |
tree | 8841cf408132a55959916384309b5daab844e11a /src/ui/text.h | |
parent | f55e327bdcdefc1c130febcc8f3a03062fba782e (diff) |
Drawing with alpha blending
Diffstat (limited to 'src/ui/text.h')
-rw-r--r-- | src/ui/text.h | 2 |
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 | ||
133 | void setOpacity_Text (float opacity); | ||
134 | |||
133 | void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...); | 135 | void draw_Text (int fontId, iInt2 pos, int color, const char *text, ...); |
134 | void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...); | 136 | void drawAlign_Text (int fontId, iInt2 pos, int color, enum iAlignment align, const char *text, ...); |
135 | void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...); | 137 | void drawCentered_Text (int fontId, iRect rect, iBool alignVisual, int color, const char *text, ...); |