summaryrefslogtreecommitdiff
path: root/src/ui/text.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-17 21:31:48 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-17 21:31:48 +0200
commit3c95b7e2aed7a405e71d954082ba7d1223a676bf (patch)
treea42bac2459825ea5c536385f2544e1376ed7a9a2 /src/ui/text.h
parent3cb3af524117fc91afd5f0f878d9978d27048344 (diff)
TextBuf: Support for color
Fill glyph backgrounds individually based on current color.
Diffstat (limited to 'src/ui/text.h')
-rw-r--r--src/ui/text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/text.h b/src/ui/text.h
index 606096b6..136e14e9 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -212,7 +212,7 @@ iString * renderBlockChars_Text (const iBlock *fontData, int height, enum iT
212/*-----------------------------------------------------------------------------------------------*/ 212/*-----------------------------------------------------------------------------------------------*/
213 213
214iDeclareType(TextBuf) 214iDeclareType(TextBuf)
215iDeclareTypeConstructionArgs(TextBuf, int font, const char *text) 215iDeclareTypeConstructionArgs(TextBuf, int font, int color, const char *text)
216 216
217struct Impl_TextBuf { 217struct Impl_TextBuf {
218 SDL_Texture *texture; 218 SDL_Texture *texture;