diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-28 21:37:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-28 21:37:19 +0300 |
commit | 03bfe2db420e0b219451590e14bb34c03c71f03c (patch) | |
tree | c3cb081449261b51f1ffefa2da4ba39fa5645888 /src/keyboardconfig.h | |
parent | c47ef8b3f2ec6ea0e26748af17cb12b7f9cd20c9 (diff) | |
download | mv-03bfe2db420e0b219451590e14bb34c03c71f03c.tar.gz mv-03bfe2db420e0b219451590e14bb34c03c71f03c.tar.bz2 mv-03bfe2db420e0b219451590e14bb34c03c71f03c.tar.xz mv-03bfe2db420e0b219451590e14bb34c03c71f03c.zip |
improve some other files.
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r-- | src/keyboardconfig.h | 8 |
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; |