From a8d7a9bb7c20a303ac827773dcc6165e363f3688 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 26 Dec 2015 14:58:02 +0100 Subject: LAB: Remove unused function in EventManager --- engines/lab/eventman.cpp | 7 ------- engines/lab/eventman.h | 5 ----- 2 files changed, 12 deletions(-) (limited to 'engines') diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp index 823b6b45e9..2de42110d2 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 34cd3b0492..495c929c48 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(); /** -- cgit v1.2.3