aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/macwindow.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-18 19:03:11 +0200
committerEugene Sandulenko2016-04-19 09:35:49 +0200
commite6c5c96b07545bb37c2dc7b3359c35e1e35d0b4e (patch)
treef09ca7a129b42b48f41c2c3ebdf9f8ce1f31918e /engines/wage/macwindow.cpp
parente5a64e7b7fae4e87d509724fcac3e5fa6d5c815e (diff)
downloadscummvm-rg350-e6c5c96b07545bb37c2dc7b3359c35e1e35d0b4e.tar.gz
scummvm-rg350-e6c5c96b07545bb37c2dc7b3359c35e1e35d0b4e.tar.bz2
scummvm-rg350-e6c5c96b07545bb37c2dc7b3359c35e1e35d0b4e.zip
WAGE: Started mouse processing in the WM
Diffstat (limited to 'engines/wage/macwindow.cpp')
-rw-r--r--engines/wage/macwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp
index 83907400c4..e517b7230b 100644
--- a/engines/wage/macwindow.cpp
+++ b/engines/wage/macwindow.cpp
@@ -53,7 +53,7 @@
namespace Wage {
-MacWindow::MacWindow(bool scrollable) : _scrollable(scrollable) {
+MacWindow::MacWindow(int id, bool scrollable) : _scrollable(scrollable), _id(id) {
_active = false;
_borderIsDirty = true;
@@ -235,4 +235,8 @@ void MacWindow::fillRect(Graphics::ManagedSurface *g, int x, int y, int w, int h
g->fillRect(r, color);
}
+WindowClick MacWindow::mouseDown(int x, int y) {
+ return kBorderNone;
+}
+
} // End of namespace Wage