aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/font.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-31 16:49:22 +0000
committerMartin Kiewitz2010-01-31 16:49:22 +0000
commitaf5b9b14ca7d0eb7e5bdc8ddd88180f31680b137 (patch)
treea875fa7f4c109dab9246e43faf05dcceb0a413c1 /engines/sci/graphics/font.h
parent594d82e287acd177b84f0db65ed86080ea1bbc82 (diff)
downloadscummvm-rg350-af5b9b14ca7d0eb7e5bdc8ddd88180f31680b137.tar.gz
scummvm-rg350-af5b9b14ca7d0eb7e5bdc8ddd88180f31680b137.tar.bz2
scummvm-rg350-af5b9b14ca7d0eb7e5bdc8ddd88180f31680b137.zip
SCI: changed the way font class is initialized
svn-id: r47756
Diffstat (limited to 'engines/sci/graphics/font.h')
-rw-r--r--engines/sci/graphics/font.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/font.h b/engines/sci/graphics/font.h
index 65406c907a..4a33b484d0 100644
--- a/engines/sci/graphics/font.h
+++ b/engines/sci/graphics/font.h
@@ -32,7 +32,7 @@ namespace Sci {
class Font {
public:
- Font(ResourceManager *resMan, GuiResourceId resourceId);
+ Font(ResourceManager *resMan, GfxScreen *screen, GuiResourceId resourceId);
~Font();
GuiResourceId getResourceId();
@@ -40,10 +40,11 @@ public:
byte getCharWidth(byte chr);
byte getCharHeight(byte chr);
byte *getCharData(byte chr);
- void draw(GfxScreen *screen, int16 chr, int16 top, int16 left, byte color, bool greyedOutput);
+ void draw(int16 chr, int16 top, int16 left, byte color, bool greyedOutput);
private:
ResourceManager *_resMan;
+ GfxScreen *_screen;
Resource *_resource;
GuiResourceId _resourceId;