From 7929255cd9723ebba451d5b9dd4d4597ed32e6a7 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sun, 31 Jan 2010 12:35:15 +0000 Subject: 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 --- engines/sci/graphics/picture.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'engines/sci/graphics/picture.h') 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; -- cgit v1.2.3