From 1562add63191c482acf99da61d6d8d1e2bf8903d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 7 Oct 2009 21:29:47 +0000 Subject: - Cleaned up the cursor code - Renamed gui -> _gui in EngineState, for consistency - Added a reference to SciGuiCursor in EngineState, to be used by current code - Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor - Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position. svn-id: r44760 --- engines/sci/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/gui/gui.cpp') diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp index c3ca647e80..331666edff 100644 --- a/engines/sci/gui/gui.cpp +++ b/engines/sci/gui/gui.cpp @@ -460,11 +460,11 @@ void SciGui::setNowSeen(reg_t objectReference) { _gfx->SetNowSeen(objectReference); } -void SciGui::setCursorHide() { +void SciGui::hideCursor() { _cursor->hide(); } -void SciGui::setCursorShow() { +void SciGui::showCursor() { _cursor->show(); } -- cgit v1.2.3