aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-03-18 08:47:42 +0100
committerEugene Sandulenko2016-03-18 11:45:29 +0100
commit657edcf84e97d9c6b044ae3f3687fa9aba9e9ce9 (patch)
tree170617d78549e6f0934d296948f2d4c8bf29f464 /engines
parent9707a8b359dde44e71211588607bb7202910e97a (diff)
downloadscummvm-rg350-657edcf84e97d9c6b044ae3f3687fa9aba9e9ce9.tar.gz
scummvm-rg350-657edcf84e97d9c6b044ae3f3687fa9aba9e9ce9.tar.bz2
scummvm-rg350-657edcf84e97d9c6b044ae3f3687fa9aba9e9ce9.zip
WAGE: Plugged in console scrolling up/down
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/gui.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 0e33068804..4af5bea97e 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -588,7 +588,17 @@ Designed *Gui::mouseUp(int x, int y) {
}
} else if ((borderClick = isInBorder(_consoleTextArea, x, y)) != kBorderNone) {
_bordersDirty = true;
- warning("Border: %d", borderClick);
+
+ switch (borderClick) {
+ case kBorderScrollUp:
+ _scrollPos--;
+ _consoleDirty = true;
+ break;
+ case kBorderScrollDown:
+ _scrollPos++;
+ _consoleDirty = true;
+ break;
+ }
}
return NULL;