diff options
author | Bastien Bouclet | 2019-04-27 08:00:37 +0200 |
---|---|---|
committer | Bastien Bouclet | 2019-05-05 08:52:12 +0200 |
commit | a5d93d933ab65d5a7efcc88926ce116618f06fcd (patch) | |
tree | 81be4d4692ae5c2a266089196a2884107d8d1b06 /gui/ThemeEngine.h | |
parent | 2a38562d4bc968bb9d32a9bbe5e57f9d37f88a60 (diff) | |
download | scummvm-rg350-a5d93d933ab65d5a7efcc88926ce116618f06fcd.tar.gz scummvm-rg350-a5d93d933ab65d5a7efcc88926ce116618f06fcd.tar.bz2 scummvm-rg350-a5d93d933ab65d5a7efcc88926ce116618f06fcd.zip |
GUI: Use a truetype font for the debug console
Diffstat (limited to 'gui/ThemeEngine.h')
-rw-r--r-- | gui/ThemeEngine.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index 7f13f3b3e4..0fd7e9ecb5 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -37,7 +37,7 @@ #include "graphics/pixelformat.h" -#define SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.26" +#define SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.27" class OSystem; @@ -131,6 +131,7 @@ enum TextData { kTextDataButton, kTextDataNormalFont, kTextDataTooltip, + kTextDataConsole, kTextDataMAX }; @@ -220,6 +221,7 @@ public: kFontStyleFixedBold = 4, ///< Fixed size bold font. kFontStyleFixedItalic = 5, ///< Fixed size italic font. kFontStyleTooltip = 6, ///< Tiny console font + kFontStyleConsole = 7, ///< Debug console font kFontStyleMax }; @@ -361,6 +363,8 @@ public: return kTextDataNormalFont; if (font == kFontStyleTooltip) return kTextDataTooltip; + if (font == kFontStyleConsole) + return kTextDataConsole; return kTextDataDefault; } |