[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.359,1.360
Travis Howell
kirben at users.sourceforge.net
Wed Dec 10 20:42:03 CET 2003
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv12434/simon
Modified Files:
simon.cpp
Log Message:
Add About option
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -d -r1.359 -r1.360
--- simon.cpp 11 Dec 2003 03:50:25 -0000 1.359
+++ simon.cpp 11 Dec 2003 04:41:42 -0000 1.360
@@ -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 @@
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)
More information about the Scummvm-git-logs
mailing list