aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2017-07-30 08:55:10 +0200
committerEugene Sandulenko2017-08-01 10:42:21 +0200
commitff8a2ade68cc6751c1825f149f2efe9f78c9fe3d (patch)
tree9d43f60ba76adb2bee34e720d15a0089bb58bb33 /graphics/macgui
parent68cd5c8868ade8ebfd331e4fea25d47fe899dc42 (diff)
downloadscummvm-rg350-ff8a2ade68cc6751c1825f149f2efe9f78c9fe3d.tar.gz
scummvm-rg350-ff8a2ade68cc6751c1825f149f2efe9f78c9fe3d.tar.bz2
scummvm-rg350-ff8a2ade68cc6751c1825f149f2efe9f78c9fe3d.zip
GRAPHICS: MACGUI: Made more MacWindow methods public
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/macwindow.h5
1 files changed, 3 insertions, 2 deletions
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);