diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-17 02:00:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-17 02:00:20 +0300 |
commit | d2b34e1d51d04288274eca0151de959817f037a2 (patch) | |
tree | 73fe2bccc54eb27884d1e1d78424c486e79d0111 /src/events | |
parent | b1a2e2bc36735e61d903f31fd2d541b082970392 (diff) | |
download | plus-d2b34e1d51d04288274eca0151de959817f037a2.tar.gz plus-d2b34e1d51d04288274eca0151de959817f037a2.tar.bz2 plus-d2b34e1d51d04288274eca0151de959817f037a2.tar.xz plus-d2b34e1d51d04288274eca0151de959817f037a2.zip |
Move key into input directory.
Diffstat (limited to 'src/events')
-rw-r--r-- | src/events/keyevent.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events/keyevent.h b/src/events/keyevent.h index ec5b5489a..f27851f0e 100644 --- a/src/events/keyevent.h +++ b/src/events/keyevent.h @@ -65,7 +65,7 @@ #define EVENTS_KEYEVENT_HPP #include "events/inputguievent.h" -#include "gui/base/key.hpp" +#include "input/key.h" namespace gcn { @@ -108,7 +108,7 @@ class KeyEvent: public InputGuiEvent const unsigned int type, const bool numericPad, const int actionId, - const gcn::Key &key) : + const Key &key) : InputGuiEvent(source, shiftPressed, controlPressed, @@ -152,7 +152,7 @@ class KeyEvent: public InputGuiEvent * * @return The key of the event. */ - const gcn::Key &getKey() const A_WARN_UNUSED + const Key &getKey() const A_WARN_UNUSED { return mKey; } int getActionId() const A_WARN_UNUSED @@ -170,7 +170,7 @@ class KeyEvent: public InputGuiEvent /** * Holds the key of the key event. */ - gcn::Key mKey; + Key mKey; #ifdef USE_SDL2 std::string mText; |