diff options
author | Eugene Sandulenko | 2016-04-28 12:09:08 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-28 12:09:08 +0200 |
commit | b5335ed9d46185cbd21c5a9840b1e28ad2cc79ac (patch) | |
tree | aaaec180bb854f589e1c5773565fe1cf0c511ba3 /engines/wage/dialog.cpp | |
parent | 6998182b1fef719499ab8b19d415d1a24dd7d908 (diff) | |
download | scummvm-rg350-b5335ed9d46185cbd21c5a9840b1e28ad2cc79ac.tar.gz scummvm-rg350-b5335ed9d46185cbd21c5a9840b1e28ad2cc79ac.tar.bz2 scummvm-rg350-b5335ed9d46185cbd21c5a9840b1e28ad2cc79ac.zip |
WAGE: Moved cursor management to WM
Diffstat (limited to 'engines/wage/dialog.cpp')
-rw-r--r-- | engines/wage/dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/dialog.cpp b/engines/wage/dialog.cpp index 981f42beaf..7a7ed37416 100644 --- a/engines/wage/dialog.cpp +++ b/engines/wage/dialog.cpp @@ -145,7 +145,7 @@ int Dialog::run() { Common::Rect r(_bbox); _tempSurface.copyRectToSurface(_gui->_screen.getBasePtr(_bbox.left, _bbox.top), _gui->_screen.pitch, 0, 0, _bbox.width() + 1, _bbox.height() + 1); - _gui->pushArrowCursor(); + _gui->_wm.pushArrowCursor(); while (!shouldQuit) { Common::Event event; @@ -189,7 +189,7 @@ int Dialog::run() { _gui->_screen.copyRectToSurface(_tempSurface.getBasePtr(0, 0), _tempSurface.pitch, _bbox.left, _bbox.top, _bbox.width() + 1, _bbox.height() + 1); g_system->copyRectToScreen(_gui->_screen.getBasePtr(r.left, r.top), _gui->_screen.pitch, r.left, r.top, r.width() + 1, r.height() + 1); - _gui->popCursor(); + _gui->_wm.popCursor(); return _pressedButton; } |