summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-28 21:37:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-28 21:37:19 +0300
commit03bfe2db420e0b219451590e14bb34c03c71f03c (patch)
treec3cb081449261b51f1ffefa2da4ba39fa5645888 /src/keyboardconfig.h
parentc47ef8b3f2ec6ea0e26748af17cb12b7f9cd20c9 (diff)
downloadplus-03bfe2db420e0b219451590e14bb34c03c71f03c.tar.gz
plus-03bfe2db420e0b219451590e14bb34c03c71f03c.tar.bz2
plus-03bfe2db420e0b219451590e14bb34c03c71f03c.tar.xz
plus-03bfe2db420e0b219451590e14bb34c03c71f03c.zip
improve some other files.
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index 26b080fc4..cbadbbd33 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -71,10 +71,10 @@ class KeyboardConfig final
*/
void refreshActiveKeys();
- std::string getKeyShortString(const std::string &key)
- const A_WARN_UNUSED;
+ static std::string getKeyShortString(const std::string &key)
+ A_WARN_UNUSED;
- SDLKey getKeyFromEvent(const SDL_Event &event) const A_WARN_UNUSED;
+ static SDLKey getKeyFromEvent(const SDL_Event &event) A_WARN_UNUSED;
int getKeyValueFromEvent(const SDL_Event &event) const A_WARN_UNUSED;
@@ -82,7 +82,7 @@ class KeyboardConfig final
KeysVector *getActionVectorByKey(const int i) A_WARN_UNUSED;
- std::string getKeyName(const int key) const A_WARN_UNUSED;
+ static std::string getKeyName(const int key)A_WARN_UNUSED;
bool isActionActive(const int index) const A_WARN_UNUSED;