summaryrefslogtreecommitdiff
path: root/src/ui/text.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-05 10:45:56 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-05 10:45:56 +0300
commit2b1de0641335ab1a88aeafcc8911056f155e94c9 (patch)
tree058b34babb8eed6a44f1e1cd141b78acbb583844 /src/ui/text.c
parent32f0e0c110c803cd6f92fabf4c52d06aec5b1a69 (diff)
Setting up document theming
Diffstat (limited to 'src/ui/text.c')
-rw-r--r--src/ui/text.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 0c4b8624..9468ea65 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -620,6 +620,10 @@ void drawString_Text(int fontId, iInt2 pos, int color, const iString *text) {
620 draw_Text_(fontId, pos, color, range_String(text)); 620 draw_Text_(fontId, pos, color, range_String(text));
621} 621}
622 622
623void drawRange_Text(int fontId, iInt2 pos, int color, iRangecc text) {
624 draw_Text_(fontId, pos, color, text);
625}
626
623void drawCentered_Text(int fontId, iRect rect, iBool alignVisual, int color, const char *format, ...) { 627void drawCentered_Text(int fontId, iRect rect, iBool alignVisual, int color, const char *format, ...) {
624 iBlock chars; 628 iBlock chars;
625 init_Block(&chars, 0); { 629 init_Block(&chars, 0); {