aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-12-11 04:41:42 +0000
committerTravis Howell2003-12-11 04:41:42 +0000
commit8c1cf30b6bbe6c6a26c900887c7eeb350af7091f (patch)
tree04e65bc4f06452d2dafc5830d9c8f6e8b1391567
parent879486e377b4677da71186b57881afe895d3dccd (diff)
downloadscummvm-rg350-8c1cf30b6bbe6c6a26c900887c7eeb350af7091f.tar.gz
scummvm-rg350-8c1cf30b6bbe6c6a26c900887c7eeb350af7091f.tar.bz2
scummvm-rg350-8c1cf30b6bbe6c6a26c900887c7eeb350af7091f.zip
Add About option
svn-id: r11567
-rw-r--r--simon/simon.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 7d9bf67912..eab73e8763 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -29,6 +29,7 @@
#include "common/config-manager.h"
#include "common/file.h"
+#include "gui/about.h"
#include "gui/message.h"
#include "simon/simon.h"
@@ -4847,7 +4848,11 @@ void SimonEngine::delay(uint amount) {
if (!_lock_counter)
quick_load_or_save();
} else if (event.kbd.flags == OSystem::KBD_CTRL) {
- if (event.kbd.keycode == 'f')
+ if (event.kbd.keycode == 'a') {
+ GUI::Dialog *_aboutDialog;
+ _aboutDialog = new GUI::AboutDialog();
+ _aboutDialog->runModal();
+ } else if (event.kbd.keycode == 'f')
_fast_mode ^= 1;
}
// Make sure backspace works right (this fixes a small issue on OS X)