aboutsummaryrefslogtreecommitdiff
path: root/gui/gui-manager.h
diff options
context:
space:
mode:
authorTarek Soliman2011-10-21 22:54:33 -0500
committerTarek Soliman2011-10-27 10:46:22 -0500
commita5082ffa5d12483f2e65fe653509989b1314164c (patch)
tree4520e7b2893856274100b23187f105499ab238f6 /gui/gui-manager.h
parentac85d134b31f770f27d085c0fe4c307e278c1875 (diff)
downloadscummvm-rg350-a5082ffa5d12483f2e65fe653509989b1314164c.tar.gz
scummvm-rg350-a5082ffa5d12483f2e65fe653509989b1314164c.tar.bz2
scummvm-rg350-a5082ffa5d12483f2e65fe653509989b1314164c.zip
KEYMAPPER: Skip GUI keymap when displaying active keymap in keymapper dialog
This fixes a problem where opening the keymapper dialog would cause the current game keymap to be displayed as the active keymap but then changing the keymap selection back to it would cause the GUI keymap to be displayed as the active one. The GUI keymap was indeed at the top of the stack but that's not the desired effect. Also move the pushing and popping of the keymap to Dialog::Open/Close Also constantify the GUI keymap name
Diffstat (limited to 'gui/gui-manager.h')
-rw-r--r--gui/gui-manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/gui-manager.h b/gui/gui-manager.h
index 10f9e6a29f..addd2e6611 100644
--- a/gui/gui-manager.h
+++ b/gui/gui-manager.h
@@ -126,6 +126,8 @@ protected:
byte _cursor[2048];
void initKeymap();
+ void pushKeymap();
+ void popKeymap();
void saveState();
void restoreState();