diff options
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r-- | saga/interface.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp index c00b5b2cd1..1d4f5a1181 100644 --- a/saga/interface.cpp +++ b/saga/interface.cpp @@ -1213,6 +1213,12 @@ void Interface::update(const Point& mousePoint, int updateFlag) { if (updateFlag & UPDATE_MOUSECLICK) { handleConverseClick(mousePoint); } + if (updateFlag & UPDATE_WHEELUP) { + converseChangePos(-1); + } + if (updateFlag & UPDATE_WHEELDOWN) { + converseChangePos(1); + } if (_vm->_puzzle->isActive()) { _vm->_puzzle->handleClick(mousePoint); @@ -1229,6 +1235,16 @@ void Interface::update(const Point& mousePoint, int updateFlag) { if (updateFlag & UPDATE_MOUSECLICK) { handleOptionClick(mousePoint); } + if (updateFlag & UPDATE_WHEELUP) { + if (_optionSaveFileTop) + _optionSaveFileTop--; + calcOptionSaveSlider(); + } + if (updateFlag & UPDATE_WHEELDOWN) { + if (_optionSaveFileTop < _vm->getSaveFilesCount() - _vm->getDisplayInfo().optionSaveFileVisible) + _optionSaveFileTop++; + calcOptionSaveSlider(); + } } } |