aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
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.h
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.h')
-rw-r--r--engines/parallaction/graphics.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h
index ac42e116e6..654b76fde9 100644
--- a/engines/parallaction/graphics.h
+++ b/engines/parallaction/graphics.h
@@ -316,8 +316,6 @@ public:
// misc
int16 queryMask(int16 v);
- void setFont(Font* font);
- void setFontShadow(bool enable);
void swapBuffers();
void updateScreen();
void setBackground(Graphics::Surface *surf);
@@ -344,7 +342,6 @@ protected:
Graphics::Surface *_buffers[NUM_BUFFERS];
MaskBuffer *_depthMask;
Font *_font;
- bool _fontShadow;
bool _halfbrite;
Common::Point _hbCirclePos;
@@ -399,6 +396,8 @@ protected:
bool drawWrappedText(Graphics::Surface* surf, char *text, byte color, int16 wrapwidth);
void blit(const Common::Rect& r, uint16 z, byte *data, Graphics::Surface *surf);
void flatBlit(const Common::Rect& r, byte *data, Graphics::Surface *surf, byte transparentColor);
+ void setFont(Font* font);
+
};