diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-11 16:00:57 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-11 16:00:57 +0300 |
commit | 684c6d25fc4465440d09f9ad14cf8876f2c3a0c2 (patch) | |
tree | e6a6c576a3ca44d2d079687b860d413a298a88de /src/ui/text.h | |
parent | 52cb8a8d24408e21101dfe9465cf28eaaf287c13 (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.h | 5 |
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 *); | |||
118 | void deinit_Text (void); | 118 | void deinit_Text (void); |
119 | 119 | ||
120 | void setContentFont_Text (enum iTextFont font); | 120 | void setContentFont_Text (enum iTextFont font); |
121 | void setHeadingFont_Text (enum iTextFont font); | ||
121 | void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */ | 122 | void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */ |
122 | void resetFonts_Text (void); | 123 | void resetFonts_Text (void); |
123 | 124 | ||