From ff8a2ade68cc6751c1825f149f2efe9f78c9fe3d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 30 Jul 2017 08:55:10 +0200 Subject: GRAPHICS: MACGUI: Made more MacWindow methods public --- graphics/macgui/macwindow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'graphics/macgui/macwindow.h') diff --git a/graphics/macgui/macwindow.h b/graphics/macgui/macwindow.h index 5446b65678..3db9096b9c 100644 --- a/graphics/macgui/macwindow.h +++ b/graphics/macgui/macwindow.h @@ -262,7 +262,7 @@ public: /** * See BaseMacWindow. */ - bool processEvent(Common::Event &event); + virtual bool processEvent(Common::Event &event); bool hasAllFocus() { return _beingDragged || _beingResized; } /** @@ -285,6 +285,8 @@ public: */ void setCloseable(bool closeable); + WindowClick isInBorder(int x, int y); + private: void drawBorder(); void prepareBorderSurface(ManagedSurface *g); @@ -295,7 +297,6 @@ private: void fillRect(ManagedSurface *g, int x, int y, int w, int h, int color); const Font *getTitleFont(); void updateInnerDims(); - WindowClick isInBorder(int x, int y); bool isInCloseButton(int x, int y); bool isInResizeButton(int x, int y); -- cgit v1.2.3