diff options
author | Eugene Sandulenko | 2016-03-18 08:47:42 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-03-18 11:45:29 +0100 |
commit | 657edcf84e97d9c6b044ae3f3687fa9aba9e9ce9 (patch) | |
tree | 170617d78549e6f0934d296948f2d4c8bf29f464 /engines | |
parent | 9707a8b359dde44e71211588607bb7202910e97a (diff) | |
download | scummvm-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.cpp | 12 |
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; |