diff options
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 61f50e2b72..ffe8d503cc 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -169,6 +169,12 @@ void NewGui::runLoop() case OSystem::EVENT_RBUTTONUP: activeDialog->handleMouseUp(event.mouse.x - activeDialog->_x, event.mouse.y - activeDialog->_y, 1, _lastClick.count); break; + case OSystem::EVENT_WHEELUP: + activeDialog->handleMouseWheel(event.mouse.x - activeDialog->_x, event.mouse.y - activeDialog->_y, -1); + break; + case OSystem::EVENT_WHEELDOWN: + activeDialog->handleMouseWheel(event.mouse.x - activeDialog->_x, event.mouse.y - activeDialog->_y, 1); + break; } } |