diff options
author | Eugene Sandulenko | 2019-10-17 01:43:54 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-17 01:43:54 +0200 |
commit | de42a124ed21f412ef1a23b09a6a3954d0cb2df0 (patch) | |
tree | 49bd37058137b71e630c0bb5003a7e1c65541fd8 /engines/pink/director.h | |
parent | 6100de0b3a0f869b0dc94b5f961c60206b264bf1 (diff) | |
download | scummvm-rg350-de42a124ed21f412ef1a23b09a6a3954d0cb2df0.tar.gz scummvm-rg350-de42a124ed21f412ef1a23b09a6a3954d0cb2df0.tar.bz2 scummvm-rg350-de42a124ed21f412ef1a23b09a6a3954d0cb2df0.zip |
PINK: Enforce built-in fonts in WM
Diffstat (limited to 'engines/pink/director.h')
-rw-r--r-- | engines/pink/director.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/pink/director.h b/engines/pink/director.h index af8dbfc35d..9dff49a271 100644 --- a/engines/pink/director.h +++ b/engines/pink/director.h @@ -48,6 +48,7 @@ class ActionText; class Director { public: Director(); + ~Director(); void update(); bool processEvent(Common::Event &event); @@ -75,7 +76,7 @@ public: Actor *getActorByPoint(const Common::Point point); - Graphics::MacWindowManager &getWndManager() { return _wm; }; + Graphics::MacWindowManager &getWndManager() { return *_wm; }; void draw(bool blit = true); @@ -85,7 +86,7 @@ private: private: Graphics::Screen _surface; - Graphics::MacWindowManager _wm; + Graphics::MacWindowManager *_wm; Common::Array<Common::Rect> _dirtyRects; Common::Array<ActionCEL *> _sprites; Common::Array<ActionCEL *> _savedSprites; |