diff options
author | Paul Gilbert | 2011-04-28 19:14:37 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-04-28 19:14:37 +1000 |
commit | 80c90a569eb06f6a12ca0f0f256d0cbb028f19be (patch) | |
tree | 3aaa0ca5db47994017dd39e2b13e41856023d161 /engines/tsage/dialogs.cpp | |
parent | de531a39e0c6494a074913ae330dc0cfb47322b7 (diff) | |
download | scummvm-rg350-80c90a569eb06f6a12ca0f0f256d0cbb028f19be.tar.gz scummvm-rg350-80c90a569eb06f6a12ca0f0f256d0cbb028f19be.tar.bz2 scummvm-rg350-80c90a569eb06f6a12ca0f0f256d0cbb028f19be.zip |
TSAGE: Added code to handle visual differences in Demo help dialog
Diffstat (limited to 'engines/tsage/dialogs.cpp')
-rw-r--r-- | engines/tsage/dialogs.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/tsage/dialogs.cpp b/engines/tsage/dialogs.cpp index ba3a11f619..be9200c0c7 100644 --- a/engines/tsage/dialogs.cpp +++ b/engines/tsage/dialogs.cpp @@ -71,17 +71,12 @@ MessageDialog::MessageDialog(const Common::String &message, const Common::String int MessageDialog::show(const Common::String &message, const Common::String &btn1Message, const Common::String &btn2Message) { // Ensure that the cursor is the arrow - CursorType currentCursor = _globals->_events.getCursor(); - if (currentCursor != CURSOR_ARROW) - _globals->_events.setCursor(CURSOR_ARROW); + _globals->_events.pushCursor(CURSOR_ARROW); _globals->_events.showCursor(); int result = show2(message, btn1Message, btn2Message); - // If the cursor was changed, change it back - if (currentCursor != CURSOR_ARROW) - _globals->_events.setCursor(currentCursor); - + _globals->_events.popCursor(); return result; } @@ -96,7 +91,6 @@ int MessageDialog::show2(const Common::String &message, const Common::String &bt return result; } - /*--------------------------------------------------------------------------*/ ConfigDialog::ConfigDialog() : GUI::OptionsDialog("", "GlobalConfig") { |