diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-08 19:41:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-08 19:41:19 +0300 |
commit | 30ef016b0a14f36dc480284e2d775295b5501dd4 (patch) | |
tree | a269c0983efb8dc9160bfe10b1dba26a302aff0c /src/gui/windowmenu.cpp | |
parent | 25a6eae7f4fb561bbf930be28ee09510b40ebc80 (diff) | |
download | manaverse-30ef016b0a14f36dc480284e2d775295b5501dd4.tar.gz manaverse-30ef016b0a14f36dc480284e2d775295b5501dd4.tar.bz2 manaverse-30ef016b0a14f36dc480284e2d775295b5501dd4.tar.xz manaverse-30ef016b0a14f36dc480284e2d775295b5501dd4.zip |
Move most input code from keyboardconfig to inputmanager.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index bb7a989ea..12085578b 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -24,6 +24,7 @@ #include "emoteshortcut.h" #include "graphics.h" +#include "inputmanager.h" #include "keyboardconfig.h" #include "gui/didyouknowwindow.h" @@ -308,7 +309,8 @@ void WindowMenu::mouseMoved(gcn::MouseEvent &event) if (key != Input::KEY_NO_VALUE) { mTextPopup->show(x + getX(), y + getY(), btn->getDescription(), - strprintf(_("Key: %s"), keyboard.getKeyValueString(key).c_str())); + strprintf(_("Key: %s"), inputManager.getKeyValueString( + key).c_str())); } else { |