From 684c6d25fc4465440d09f9ad14cf8876f2c3a0c2 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 11 Oct 2020 16:00:57 +0300 Subject: Added a preference for heading font Body and heading fonts can be selected separately. --- src/ui/text.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ui/text.h') 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 { medium_FontId, big_FontId, italic_FontId, - bold_FontId, - bigBold_FontId, + /*bold_FontId,*/ /* TODO: Not used presently, but could be useful for Markdown for instance. */ + /*bigBold_FontId,*/ largeBold_FontId, hugeBold_FontId, largeLight_FontId, @@ -118,6 +118,7 @@ void init_Text (SDL_Renderer *); void deinit_Text (void); void setContentFont_Text (enum iTextFont font); +void setHeadingFont_Text (enum iTextFont font); void setContentFontSize_Text (float fontSizeFactor); /* affects all except `default*` fonts */ void resetFonts_Text (void); -- cgit v1.2.3