aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-01-09 21:54:58 +0000
committerNicola Mettifogo2008-01-09 21:54:58 +0000
commit605c9d0fd61a14a6f479c6e1177fa10844f6feff (patch)
treeda38a5d61ae4ba3cfe56627be3a1de746f486213 /engines/parallaction/graphics.cpp
parentbdf440fdaebf74e07ff6889c15b11ab61a8c7e59 (diff)
downloadscummvm-rg350-605c9d0fd61a14a6f479c6e1177fa10844f6feff.tar.gz
scummvm-rg350-605c9d0fd61a14a6f479c6e1177fa10844f6feff.tar.bz2
scummvm-rg350-605c9d0fd61a14a6f479c6e1177fa10844f6feff.zip
Turned Gfx::setFont into a protected member, since now Gfx can automatically detect which font to use. Gfx still needs setFont internally to select fonts. The font shadowing introduced in revision 30221 has been removed as well, since the new approach handles it better.
svn-id: r30361
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r--engines/parallaction/graphics.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index 37e4f781ee..296218df15 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -849,11 +849,6 @@ void Gfx::getStringExtent(char *text, uint16 maxwidth, int16* width, int16* heig
void Gfx::setFont(Font *font) {
assert(font);
_font = font;
- setFontShadow(false);
-}
-
-void Gfx::setFontShadow(bool enable) {
- _fontShadow = enable && (_vm->getPlatform() == Common::kPlatformAmiga);
}
void Gfx::restoreBackground(const Common::Rect& r) {
@@ -962,7 +957,6 @@ Gfx::Gfx(Parallaction* vm) :
_hbCircleRadius = 0;
_font = NULL;
- _fontShadow = false;
return;
}