diff options
Diffstat (limited to 'engines/titanic/support/mouse_cursor.h')
-rw-r--r-- | engines/titanic/support/mouse_cursor.h | 13 |
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 |