aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/mouse_cursor.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-30 19:25:46 -0400
committerPaul Gilbert2016-10-30 19:25:46 -0400
commitb34e784c8a6f76f034ebfa62d1c95c809e5414b4 (patch)
treebd41f21a10a1477e417562555ee7fd029541a2af /engines/titanic/support/mouse_cursor.h
parent5348f4f34f8187e26906fb92900f87d4b4e9b797 (diff)
downloadscummvm-rg350-b34e784c8a6f76f034ebfa62d1c95c809e5414b4.tar.gz
scummvm-rg350-b34e784c8a6f76f034ebfa62d1c95c809e5414b4.tar.bz2
scummvm-rg350-b34e784c8a6f76f034ebfa62d1c95c809e5414b4.zip
TITANIC: Renamings of mouse methods
Diffstat (limited to 'engines/titanic/support/mouse_cursor.h')
-rw-r--r--engines/titanic/support/mouse_cursor.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/titanic/support/mouse_cursor.h b/engines/titanic/support/mouse_cursor.h
index 41508fdaf4..39042a5ba1 100644
--- a/engines/titanic/support/mouse_cursor.h
+++ b/engines/titanic/support/mouse_cursor.h
@@ -69,7 +69,7 @@ private:
int _hideCounter;
int _hiddenCount;
bool _cursorSuppressed;
- int _fieldE4;
+ bool _inputEnabled;
int _fieldE8;
/**
@@ -128,8 +128,15 @@ public:
*/
uint getChangeCount() const { return _setCursorCount; }
- void lockE4();
- void unlockE4();
+ /**
+ * Disables user control of the mouse
+ */
+ void disableControl();
+
+ /**
+ * Re-enables user control of the mouse
+ */
+ void enableControl();
/**
* Sets the mouse to a new position