[Scummvm-cvs-logs] scummvm master -> 30b8030c1086e0e7ef8946c1f0891f01d7f30d3b
Strangerke
Strangerke at scummvm.org
Tue Jun 7 23:42:13 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
30b8030c10 GNAP: As WAIT_CURSOR isn't available in the exe, hide and show the cursor adequately
Commit: 30b8030c1086e0e7ef8946c1f0891f01d7f30d3b
https://github.com/scummvm/scummvm/commit/30b8030c1086e0e7ef8946c1f0891f01d7f30d3b
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-06-07T23:33:50+02:00
Commit Message:
GNAP: As WAIT_CURSOR isn't available in the exe, hide and show the cursor adequately
Changed paths:
engines/gnap/gnap.cpp
diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp
index 780955b..6a03bf8 100644
--- a/engines/gnap/gnap.cpp
+++ b/engines/gnap/gnap.cpp
@@ -525,9 +525,11 @@ void GnapEngine::updateMouseCursor() {
}
if (_isWaiting && ((_gnap->_actionStatus < 0 && _plat->_actionStatus < 0) || _sceneWaiting)) {
setCursor(kDisabledCursors[_verbCursor]);
+ showCursor();
_isWaiting = false;
} else if (!_isWaiting && (_gnap->_actionStatus >= 0 || _plat->_actionStatus >= 0) && !_sceneWaiting) {
setCursor(WAIT_CURSOR);
+ hideCursor();
_isWaiting = true;
}
}
More information about the Scummvm-git-logs
mailing list