summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-17 02:00:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-17 02:00:20 +0300
commitd2b34e1d51d04288274eca0151de959817f037a2 (patch)
tree73fe2bccc54eb27884d1e1d78424c486e79d0111 /src/events
parentb1a2e2bc36735e61d903f31fd2d541b082970392 (diff)
downloadmanaplus-d2b34e1d51d04288274eca0151de959817f037a2.tar.gz
manaplus-d2b34e1d51d04288274eca0151de959817f037a2.tar.bz2
manaplus-d2b34e1d51d04288274eca0151de959817f037a2.tar.xz
manaplus-d2b34e1d51d04288274eca0151de959817f037a2.zip
Move key into input directory.
Diffstat (limited to 'src/events')
-rw-r--r--src/events/keyevent.h8
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;