diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-08 16:48:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-08 16:48:15 +0300 |
commit | 25a6eae7f4fb561bbf930be28ee09510b40ebc80 (patch) | |
tree | b6ba46e819293992216c6740c482b491c6f8d0eb /src/gui/widgets | |
parent | ad0fcc99678c13c6f6ebacead6ba2d573294163d (diff) | |
download | plus-25a6eae7f4fb561bbf930be28ee09510b40ebc80.tar.gz plus-25a6eae7f4fb561bbf930be28ee09510b40ebc80.tar.bz2 plus-25a6eae7f4fb561bbf930be28ee09510b40ebc80.tar.xz plus-25a6eae7f4fb561bbf930be28ee09510b40ebc80.zip |
Move enums from keyboardconfig.h to keydata.h.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/emoteshortcutcontainer.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp index 4f6524cdd..f46ee579c 100644 --- a/src/gui/widgets/emoteshortcutcontainer.cpp +++ b/src/gui/widgets/emoteshortcutcontainer.cpp @@ -118,7 +118,7 @@ void EmoteShortcutContainer::draw(gcn::Graphics *graphics) // Draw emote keyboard shortcut. std::string key = keyboard.getKeyValueString( - keyboard.KEY_EMOTE_1 + i); + Input::KEY_EMOTE_1 + i); graphics->setColor(getForegroundColor()); g->drawText(key, emoteX + 2, emoteY + 2, gcn::Graphics::LEFT); diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index ac7caae34..981491dd7 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -122,7 +122,7 @@ void ItemShortcutContainer::draw(gcn::Graphics *graphics) // Draw item keyboard shortcut. std::string key = keyboard.getKeyValueString( - keyboard.KEY_SHORTCUT_1 + i); + Input::KEY_SHORTCUT_1 + i); graphics->setColor(getForegroundColor()); g->drawText(key, itemX + 2, itemY + 2, gcn::Graphics::LEFT); |