- 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
This commit is contained in:
Filippos Karapetis 2009-10-07 21:29:47 +00:00
parent 80d136a362
commit 1562add631
18 changed files with 139 additions and 148 deletions

View file

@ -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();
}