aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/controls.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/controls.h')
-rw-r--r--engines/sci/graphics/controls.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/sci/graphics/controls.h b/engines/sci/graphics/controls.h
index 161dc1a1be..35c1098a0f 100644
--- a/engines/sci/graphics/controls.h
+++ b/engines/sci/graphics/controls.h
@@ -28,12 +28,13 @@
namespace Sci {
-class Gfx;
+class GfxPorts;
+class GfxPaint16;
class Font;
class Text;
class Controls {
public:
- Controls(SegManager *segMan, Gfx *gfx, Text *text);
+ Controls(SegManager *segMan, GfxPorts *ports, GfxPaint16 *paint16, Text *text);
~Controls();
void drawListControl(Common::Rect rect, reg_t obj, int16 maxChars, int16 count, const char **entries, GuiResourceId fontId, int16 upperPos, int16 cursorPos, bool isAlias);
@@ -46,7 +47,8 @@ private:
void TexteditSetBlinkTime();
SegManager *_segMan;
- Gfx *_gfx;
+ GfxPorts *_ports;
+ GfxPaint16 *_paint16;
Text *_text;
// Textedit-Control related