diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-07-15 20:41:05 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-11 02:39:49 +0200 |
commit | 30d2e0c9a16a981c895c070e9f972d577fadc531 (patch) | |
tree | 55a3ac596adbc5d93deba2aee0177580c2730c83 /src/game.h | |
parent | 3bdb7ebbcc6f7d08ed90f2232f0901b1c0e92d51 (diff) | |
download | mana-30d2e0c9a16a981c895c070e9f972d577fadc531.tar.gz mana-30d2e0c9a16a981c895c070e9f972d577fadc531.tar.bz2 mana-30d2e0c9a16a981c895c070e9f972d577fadc531.tar.xz mana-30d2e0c9a16a981c895c070e9f972d577fadc531.zip |
The shortcuts are now refreshed when reassigning keys.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -24,8 +24,9 @@ #include <string> +#include "gui/windowmenu.h" + class Map; -class WindowMenu; /** * The main class responsible for running the game. The game starts after you @@ -73,6 +74,12 @@ class Game int getCurrentTileWidth() const; int getCurrentTileHeight() const; + /** + * Update the key shortcuts in the window menu. + */ + void updateWindowMenuCaptions() + { mWindowMenu->updatePopUpCaptions(); } + private: int mLastTarget; bool mDisconnected; |