aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/events.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2014-04-29 12:56:22 +0300
committerFilippos Karapetis2014-04-29 12:56:51 +0300
commita770419abcf109ca45b047f2bb361887632db00c (patch)
treef23e7156e54cd1c0f2e3acb2fb70f01a963d6ea8 /engines/mads/events.cpp
parent60e78c9f1d779b4e9829e12f1a326e760c036273 (diff)
downloadscummvm-rg350-a770419abcf109ca45b047f2bb361887632db00c.tar.gz
scummvm-rg350-a770419abcf109ca45b047f2bb361887632db00c.tar.bz2
scummvm-rg350-a770419abcf109ca45b047f2bb361887632db00c.zip
MADS: Add an isCursorVisible() method
This will probably be used by the menu class, but it's nice to have nonetheless
Diffstat (limited to 'engines/mads/events.cpp')
-rw-r--r--engines/mads/events.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mads/events.cpp b/engines/mads/events.cpp
index ac03dd5665..6ec16402ef 100644
--- a/engines/mads/events.cpp
+++ b/engines/mads/events.cpp
@@ -77,6 +77,10 @@ void EventsManager::hideCursor() {
CursorMan.showMouse(false);
}
+bool EventsManager::isCursorVisible() {
+ return CursorMan.isVisible();
+}
+
void EventsManager::waitCursor() {
CursorType cursorId = (CursorType)MIN(_cursorSprites->getCount(), (int)CURSOR_WAIT);
_newCursorId = cursorId;