aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/mouse_cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/mouse_cursor.h')
-rw-r--r--engines/titanic/support/mouse_cursor.h22
1 files changed, 6 insertions, 16 deletions
diff --git a/engines/titanic/support/mouse_cursor.h b/engines/titanic/support/mouse_cursor.h
index cd5e49fb90..325e31de96 100644
--- a/engines/titanic/support/mouse_cursor.h
+++ b/engines/titanic/support/mouse_cursor.h
@@ -67,7 +67,7 @@ private:
CursorEntry _cursors[NUM_CURSORS];
uint _setCursorCount;
int _hideCounter;
- int _hiddenCount;
+ int _busyCount;
bool _cursorSuppressed;
int _fieldE8;
Common::Point _moveStartPos;
@@ -85,14 +85,15 @@ public:
~CMouseCursor();
/**
- * Make the mouse cursor visible
+ * Increment the busy count for the cursor, showing an hourglass
*/
- void show();
+ void incBusyCount();
/**
- * Hide the mouse cursor
+ * Decrements the busy count, resetting back to an arrow cursor
+ * when the count reaches zero
*/
- void hide();
+ void decBusyCount();
/**
* Decrements the hide counter, and shows the mouse if
@@ -143,17 +144,6 @@ public:
void enableControl();
/**
- * Shows the busy cursor
- */
- void setBusy();
-
- /**
- * Resets the cursor back to normal
- */
- void clearBusy();
-
-
- /**
* Move the mouse to a new position
*/
void setPosition(const Point &pt, double duration);