diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:41:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:41:05 +0300 |
commit | ec51be4fd71babf30a73332bc4b73edb994ee462 (patch) | |
tree | 0199da5c75066083b4287204d3532f69420764eb /src/input | |
parent | 7969f0590204ac48d74e98c3211bca27693bac44 (diff) | |
download | manaverse-ec51be4fd71babf30a73332bc4b73edb994ee462.tar.gz manaverse-ec51be4fd71babf30a73332bc4b73edb994ee462.tar.bz2 manaverse-ec51be4fd71babf30a73332bc4b73edb994ee462.tar.xz manaverse-ec51be4fd71babf30a73332bc4b73edb994ee462.zip |
Convert KeyEvent enum into strong typed enum.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/keyinput.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/keyinput.h b/src/input/keyinput.h index f308af244..8555d8bbb 100644 --- a/src/input/keyinput.h +++ b/src/input/keyinput.h @@ -85,12 +85,12 @@ class KeyInput final ~KeyInput() { } - void setType(KeyEventType::Type type) + void setType(KeyEventTypeT type) { mType = type; } - KeyEventType::Type getType() const + KeyEventTypeT getType() const { return mType; } @@ -136,7 +136,7 @@ class KeyInput final /** * Holds the type of the key input. */ - KeyEventType::Type mType; + KeyEventTypeT mType; #ifdef USE_SDL2 std::string mText; |