aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/screen.h')
-rw-r--r--engines/xeen/screen.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/xeen/screen.h b/engines/xeen/screen.h
index 3f27b33166..8df15b22d6 100644
--- a/engines/xeen/screen.h
+++ b/engines/xeen/screen.h
@@ -58,7 +58,7 @@ struct DrawStruct {
class Window: public XSurface {
private:
- XeenEngine *_vm;
+ static XeenEngine *_vm;
Common::Rect _bounds;
Common::Rect _innerBounds;
XSurface _savedArea;
@@ -71,13 +71,15 @@ private:
public:
bool _enabled;
public:
- virtual void addDirtyRect(const Common::Rect &r);
+ static void init(XeenEngine *vm);
public:
Window();
Window(const Window &src);
- Window(XeenEngine *vm, const Common::Rect &bounds, int a, int border,
+ Window(const Common::Rect &bounds, int a, int border,
int xLo, int ycL, int xHi, int ycH);
+ virtual void addDirtyRect(const Common::Rect &r);
+
void setBounds(const Common::Rect &r);
const Common::Rect &getBounds() { return _bounds; }