aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/picture.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-31 12:35:15 +0000
committerMartin Kiewitz2010-01-31 12:35:15 +0000
commit7929255cd9723ebba451d5b9dd4d4597ed32e6a7 (patch)
tree8cd2c05a2e023aa0d8e56eec338c06690888cddc /engines/sci/graphics/picture.h
parent5278b82f33dd1083b99470bb8dcf941debb6b446 (diff)
downloadscummvm-rg350-7929255cd9723ebba451d5b9dd4d4597ed32e6a7.tar.gz
scummvm-rg350-7929255cd9723ebba451d5b9dd4d4597ed32e6a7.tar.bz2
scummvm-rg350-7929255cd9723ebba451d5b9dd4d4597ed32e6a7.zip
SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui
svn-id: r47745
Diffstat (limited to 'engines/sci/graphics/picture.h')
-rw-r--r--engines/sci/graphics/picture.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/sci/graphics/picture.h b/engines/sci/graphics/picture.h
index 04a5fb8fd6..34e8988bea 100644
--- a/engines/sci/graphics/picture.h
+++ b/engines/sci/graphics/picture.h
@@ -32,9 +32,13 @@ namespace Sci {
#define SCI_PATTERN_CODE_USE_TEXTURE 0x20
#define SCI_PATTERN_CODE_PENSIZE 0x07
+class GfxPorts;
+class Screen;
+class SciPalette;
+
class SciGuiPicture {
public:
- SciGuiPicture(ResourceManager *resMan, Gfx *gfx, Screen *screen, SciPalette *palette, GuiResourceId resourceId, bool EGAdrawingVisualize = false);
+ SciGuiPicture(ResourceManager *resMan, GfxPorts *ports, Screen *screen, SciPalette *palette, GuiResourceId resourceId, bool EGAdrawingVisualize = false);
~SciGuiPicture();
GuiResourceId getResourceId();
@@ -63,7 +67,7 @@ private:
void vectorPatternTexturedCircle(Common::Rect box, byte size, byte color, byte prio, byte control, byte texture);
ResourceManager *_resMan;
- Gfx *_gfx;
+ GfxPorts *_ports;
Screen *_screen;
SciPalette *_palette;