diff --git a/engines/zvision/cursor_manager.cpp b/engines/zvision/cursor_manager.cpp index 0e7c2bc6cd4..50fa5031b27 100644 --- a/engines/zvision/cursor_manager.cpp +++ b/engines/zvision/cursor_manager.cpp @@ -122,6 +122,22 @@ void CursorManager::cursorDown(bool pushed) { changeCursor(_currentCursor, pushed); } +void CursorManager::setLeftCursor() { + changeCursor("leftarrow"); +} + +void CursorManager::setRightCursor() { + changeCursor("rightarrow"); +} + +void CursorManager::setUpCursor() { + changeCursor("zuparrow"); +} + +void CursorManager::setDownCursor() { + changeCursor("downarrow"); +} + void CursorManager::revertToIdle() { _currentCursor = "idle"; if (!_cursorIsPushed) diff --git a/engines/zvision/cursor_manager.h b/engines/zvision/cursor_manager.h index 496c652c8c3..fd61ac25be5 100644 --- a/engines/zvision/cursor_manager.h +++ b/engines/zvision/cursor_manager.h @@ -69,6 +69,12 @@ public: void changeCursor(const Common::String &cursorName); void changeCursor(const Common::String &cursorName, bool pushed); void cursorDown(bool pushed); + + void setLeftCursor(); + void setRightCursor(); + void setUpCursor(); + void setDownCursor(); + void revertToIdle(); private: