[Scummvm-cvs-logs] scummvm master -> 38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd
Strangerke
Strangerke at scummvm.org
Fri Mar 14 06:53:00 CET 2014
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:
38f90feaa5 VOYEUR: Hide the mouse cursor when the low battery screen is displayed
Commit: 38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd
https://github.com/scummvm/scummvm/commit/38f90feaa53d2e81e6047e22b1ca9ce7a3d191bd
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-14T06:51:05+01:00
Commit Message:
VOYEUR: Hide the mouse cursor when the low battery screen is displayed
Changed paths:
engines/voyeur/files_threads.cpp
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 8ca4a75..98fe0d0 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -1307,12 +1307,13 @@ int ThreadResource::doInterface() {
if (_vm->_voy->_RTVNum >= _vm->_voy->_RTVLimit || _vm->_voy->_RTVNum < 0)
_vm->_voy->_RTVNum = _vm->_voy->_RTVLimit - 1;
- if (_vm->_voy->_transitionId < 15 && _vm->_debugger->_isTimeActive &&
- (_vm->_voy->_RTVLimit - 3) < _vm->_voy->_RTVNum) {
+ if (_vm->_voy->_transitionId < 15 && _vm->_debugger->_isTimeActive
+ && (_vm->_voy->_RTVLimit - 3) < _vm->_voy->_RTVNum) {
_vm->_voy->_RTVNum = _vm->_voy->_RTVLimit;
_vm->makeViewFinder();
_vm->initIFace();
+ _vm->_eventsManager->hideCursor();
_vm->_voy->_RTVNum = _vm->_voy->_RTVLimit - 4;
_vm->_voy->_eventFlags &= ~EVTFLAG_TIME_DISABLED;
@@ -1324,6 +1325,8 @@ int ThreadResource::doInterface() {
_vm->_voy->_eventFlags |= EVTFLAG_TIME_DISABLED;
chooseSTAMPButton(20);
parsePlayCommands();
+
+ _vm->_eventsManager->showCursor();
}
_vm->checkTransition();
More information about the Scummvm-git-logs
mailing list