[Scummvm-cvs-logs] scummvm master -> e06252cda5662e7d78f7884ddf5bca099eff93f9
Strangerke
Strangerke at scummvm.org
Sun Dec 27 11:37:36 CET 2015
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:
e06252cda5 LAB: Init the mouse in the center of the screen
Commit: e06252cda5662e7d78f7884ddf5bca099eff93f9
https://github.com/scummvm/scummvm/commit/e06252cda5662e7d78f7884ddf5bca099eff93f9
Author: Strangerke (strangerke at scummvm.org)
Date: 2015-12-27T11:30:56+01:00
Commit Message:
LAB: Init the mouse in the center of the screen
Changed paths:
engines/lab/eventman.cpp
diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp
index 2de4211..d1db854 100644
--- a/engines/lab/eventman.cpp
+++ b/engines/lab/eventman.cpp
@@ -137,7 +137,7 @@ void EventManager::initMouse() {
_vm->_system->setMouseCursor(mouseData, MOUSE_WIDTH, MOUSE_HEIGHT, 0, 0, 0);
_vm->_system->showMouse(false);
- setMousePos(Common::Point(0, 0));
+ setMousePos(Common::Point(_vm->_graphics->_screenWidth / 2, _vm->_graphics->_screenHeight / 2));
}
void EventManager::mouseShow() {
More information about the Scummvm-git-logs
mailing list