summaryrefslogtreecommitdiff
path: root/src/ui/text.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-21 13:21:11 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-21 13:21:11 +0300
commit17d7cc86578eb0a9e97e3a51bad0e10a9da1482e (patch)
tree9f95e7fd9f91bea0590959d656f4a2e98f0d86de /src/ui/text.h
parent648ddbf3d118d28a20027b8c5dd074494c53b90a (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.h5
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
91SDL_Texture * glyphCache_Text (void); 91SDL_Texture * glyphCache_Text (void);
92 92
93enum iTextBlockMode { quadrants_TextBlockMode, shading_TextBlockMode };
94
95iString * renderBlockChars_Text (const iBlock *fontData, int height, enum iTextBlockMode,
96 const iString *text);
97
93/*-----------------------------------------------------------------------------------------------*/ 98/*-----------------------------------------------------------------------------------------------*/
94 99
95iDeclareType(TextBuf) 100iDeclareType(TextBuf)