diff options
author | Max Horn | 2005-01-06 22:48:42 +0000 |
---|---|---|
committer | Max Horn | 2005-01-06 22:48:42 +0000 |
commit | 858c6c4d5bb40a29550009b07f8d4b583d3f03cb (patch) | |
tree | 34d59d4b04392c72a73bae02d35681abcf2a4901 /graphics/fontman.cpp | |
parent | a9d0472758f4fb43edc0ea6602f59ef7f8075ec5 (diff) | |
download | scummvm-rg350-858c6c4d5bb40a29550009b07f8d4b583d3f03cb.tar.gz scummvm-rg350-858c6c4d5bb40a29550009b07f8d4b583d3f03cb.tar.bz2 scummvm-rg350-858c6c4d5bb40a29550009b07f8d4b583d3f03cb.zip |
Switching GUI to an alternate font; using a second, bigger, font for 640x480 games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to
svn-id: r16467
Diffstat (limited to 'graphics/fontman.cpp')
-rw-r--r-- | graphics/fontman.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/fontman.cpp b/graphics/fontman.cpp index 5ba5a80c0a..0bee9ea925 100644 --- a/graphics/fontman.cpp +++ b/graphics/fontman.cpp @@ -29,6 +29,7 @@ namespace Graphics { const ScummFont g_scummfont; extern const NewFont g_sysfont; +extern const NewFont g_sysfont_big; DECLARE_SINGLETON(FontManager); @@ -46,7 +47,9 @@ const Font *FontManager::getFontByUsage(FontUsage usage) const { case kConsoleFont: return &GUI::g_consolefont; case kGUIFont: - return &g_scummfont; + return &g_sysfont; + case kBigGUIFont: + return &g_sysfont_big; } return 0; } |