diff options
Diffstat (limited to 'engines/wage/macwindow.h')
-rw-r--r-- | engines/wage/macwindow.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/wage/macwindow.h b/engines/wage/macwindow.h index 4efdbd0a0f..44f25b6101 100644 --- a/engines/wage/macwindow.h +++ b/engines/wage/macwindow.h @@ -58,10 +58,12 @@ enum WindowType { }; class MacWindow { - MacWindow(WindowType type); +public: + MacWindow(bool scrollable, int id); ~MacWindow(); + void move(int x, int y); void resize(int w, int h); - void draw(Graphics::Surface *g, int x, int y); + void draw(Graphics::Surface *g); void setActive(bool active); Graphics::ManagedSurface *getSurface() { return &_surface; } @@ -71,9 +73,12 @@ private: private: Graphics::ManagedSurface _surface; Graphics::ManagedSurface _borderSurface; - WindowType _type; + bool _scrollable; + int _id; bool _active; bool _borderIsDirty; + + Common::Rect _dims; }; } // End of namespace Wage |