diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-17 21:31:48 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-17 21:31:48 +0200 |
commit | 3c95b7e2aed7a405e71d954082ba7d1223a676bf (patch) | |
tree | a42bac2459825ea5c536385f2544e1376ed7a9a2 /src/ui/text.h | |
parent | 3cb3af524117fc91afd5f0f878d9978d27048344 (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.h | 2 |
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 | ||
214 | iDeclareType(TextBuf) | 214 | iDeclareType(TextBuf) |
215 | iDeclareTypeConstructionArgs(TextBuf, int font, const char *text) | 215 | iDeclareTypeConstructionArgs(TextBuf, int font, int color, const char *text) |
216 | 216 | ||
217 | struct Impl_TextBuf { | 217 | struct Impl_TextBuf { |
218 | SDL_Texture *texture; | 218 | SDL_Texture *texture; |