summaryrefslogtreecommitdiff
path: root/src/ui/text.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-11 16:00:57 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-11 16:00:57 +0300
commit684c6d25fc4465440d09f9ad14cf8876f2c3a0c2 (patch)
treee6a6c576a3ca44d2d079687b860d413a298a88de /src/ui/text.h
parent52cb8a8d24408e21101dfe9465cf28eaaf287c13 (diff)
Added a preference for heading font
Body and heading fonts can be selected separately.
Diffstat (limited to 'src/ui/text.h')
-rw-r--r--src/ui/text.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/text.h b/src/ui/text.h
index fe4ddef1..21256be5 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -40,8 +40,8 @@ enum iFontId {
40 medium_FontId, 40 medium_FontId,
41 big_FontId, 41 big_FontId,
42 italic_FontId, 42 italic_FontId,
43 bold_FontId, 43 /*bold_FontId,*/ /* TODO: Not used presently, but could be useful for Markdown for instance. */
44 bigBold_FontId, 44 /*bigBold_FontId,*/
45 largeBold_FontId, 45 largeBold_FontId,
46 hugeBold_FontId, 46 hugeBold_FontId,
47 largeLight_FontId, 47 largeLight_FontId,
@@ -118,6 +118,7 @@ void init_Text (SDL_Renderer *);
118void deinit_Text (void); 118void deinit_Text (void);
119 119
120void setContentFont_Text (enum iTextFont font); 120void setContentFont_Text (enum iTextFont font);
121void setHeadingFont_Text (enum iTextFont font);
121void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */ 122void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */
122void resetFonts_Text (void); 123void resetFonts_Text (void);
123 124