diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-21 13:21:11 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-21 13:21:11 +0300 |
commit | 17d7cc86578eb0a9e97e3a51bad0e10a9da1482e (patch) | |
tree | 9f95e7fd9f91bea0590959d656f4a2e98f0d86de /src/ui/text.h | |
parent | 648ddbf3d118d28a20027b8c5dd074494c53b90a (diff) |
Experimenting with text art
Convert glyph bitmaps to Unicode block characters
Diffstat (limited to 'src/ui/text.h')
-rw-r--r-- | src/ui/text.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/text.h b/src/ui/text.h index 2d49a1a6..239fae51 100644 --- a/src/ui/text.h +++ b/src/ui/text.h | |||
@@ -90,6 +90,11 @@ void drawRange_Text (int fontId, iInt2 pos, int color, iRangecc text); | |||
90 | 90 | ||
91 | SDL_Texture * glyphCache_Text (void); | 91 | SDL_Texture * glyphCache_Text (void); |
92 | 92 | ||
93 | enum iTextBlockMode { quadrants_TextBlockMode, shading_TextBlockMode }; | ||
94 | |||
95 | iString * renderBlockChars_Text (const iBlock *fontData, int height, enum iTextBlockMode, | ||
96 | const iString *text); | ||
97 | |||
93 | /*-----------------------------------------------------------------------------------------------*/ | 98 | /*-----------------------------------------------------------------------------------------------*/ |
94 | 99 | ||
95 | iDeclareType(TextBuf) | 100 | iDeclareType(TextBuf) |