aboutsummaryrefslogtreecommitdiff
path: root/graphics/fontman.cpp
diff options
context:
space:
mode:
authorMax Horn2005-01-06 22:48:42 +0000
committerMax Horn2005-01-06 22:48:42 +0000
commit858c6c4d5bb40a29550009b07f8d4b583d3f03cb (patch)
tree34d59d4b04392c72a73bae02d35681abcf2a4901 /graphics/fontman.cpp
parenta9d0472758f4fb43edc0ea6602f59ef7f8075ec5 (diff)
downloadscummvm-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.cpp5
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;
}