[Scummvm-cvs-logs] scummvm master -> a8d7a9bb7c20a303ac827773dcc6165e363f3688

Strangerke Strangerke at scummvm.org
Sat Dec 26 16:04:43 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:
a8d7a9bb7c LAB: Remove unused function in EventManager


Commit: a8d7a9bb7c20a303ac827773dcc6165e363f3688
    https://github.com/scummvm/scummvm/commit/a8d7a9bb7c20a303ac827773dcc6165e363f3688
Author: Strangerke (strangerke at scummvm.org)
Date: 2015-12-26T14:58:02+01:00

Commit Message:
LAB: Remove unused function in EventManager

Changed paths:
    engines/lab/eventman.cpp
    engines/lab/eventman.h



diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp
index 823b6b4..2de4211 100644
--- a/engines/lab/eventman.cpp
+++ b/engines/lab/eventman.cpp
@@ -148,13 +148,6 @@ void EventManager::mouseHide() {
 	_vm->_system->showMouse(false);
 }
 
-Common::Point EventManager::getMousePos() {
-	if (_vm->_isHiRes)
-		return _mousePos;
-	else
-		return Common::Point(_mousePos.x / 2, _mousePos.y);
-}
-
 void EventManager::setMousePos(Common::Point pos) {
 	if (_vm->_isHiRes)
 		_vm->_system->warpMouse(pos.x, pos.y);
diff --git a/engines/lab/eventman.h b/engines/lab/eventman.h
index 34cd3b0..495c929 100644
--- a/engines/lab/eventman.h
+++ b/engines/lab/eventman.h
@@ -102,11 +102,6 @@ public:
 	void freeButtonList(ButtonList *buttonList);
 	Button *getButton(uint16 id);
 
-	/**
-	 * Gets the current mouse co-ordinates.  NOTE: On IBM version, will scale
-	 * from virtual to screen co-ordinates automatically.
-	 */
-	Common::Point getMousePos();
 	IntuiMessage *getMsg();
 
 	/**






More information about the Scummvm-git-logs mailing list