diff options
author | Martin Kiewitz | 2010-01-31 16:49:22 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-31 16:49:22 +0000 |
commit | af5b9b14ca7d0eb7e5bdc8ddd88180f31680b137 (patch) | |
tree | a875fa7f4c109dab9246e43faf05dcceb0a413c1 /engines/sci/graphics/font.h | |
parent | 594d82e287acd177b84f0db65ed86080ea1bbc82 (diff) | |
download | scummvm-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.h | 5 |
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; |