aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/events.cpp
diff options
context:
space:
mode:
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;