aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-07 21:29:47 +0000
committerFilippos Karapetis2009-10-07 21:29:47 +0000
commit1562add63191c482acf99da61d6d8d1e2bf8903d (patch)
tree68d36e8e9219837a9febdb7791b572da9e7f3ed6 /engines/sci/gui/gui.cpp
parent80d136a362e667d4e8ff0754fe634eba30e0590a (diff)
downloadscummvm-rg350-1562add63191c482acf99da61d6d8d1e2bf8903d.tar.gz
scummvm-rg350-1562add63191c482acf99da61d6d8d1e2bf8903d.tar.bz2
scummvm-rg350-1562add63191c482acf99da61d6d8d1e2bf8903d.zip
- 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
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r--engines/sci/gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
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();
}