summaryrefslogtreecommitdiff
path: root/src/gui/widgets
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/gui/widgets
parentb1a2e2bc36735e61d903f31fd2d541b082970392 (diff)
downloadmv-d2b34e1d51d04288274eca0151de959817f037a2.tar.gz
mv-d2b34e1d51d04288274eca0151de959817f037a2.tar.bz2
mv-d2b34e1d51d04288274eca0151de959817f037a2.tar.xz
mv-d2b34e1d51d04288274eca0151de959817f037a2.zip
Move key into input directory.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/guitable.cpp3
-rw-r--r--src/gui/widgets/textbox.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 5873ef4ce..f87ca2fe7 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -31,7 +31,8 @@
#include "utils/dtor.h"
#include "listeners/actionlistener.h"
-#include "gui/base/key.hpp"
+
+#include "input/key.h"
#include "render/graphics.h"
diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp
index 5f74fa1f8..0ea05e585 100644
--- a/src/gui/widgets/textbox.cpp
+++ b/src/gui/widgets/textbox.cpp
@@ -168,7 +168,7 @@ void TextBox::setTextWrapped(const std::string &text, const int minDimension)
void TextBox::keyPressed(KeyEvent& keyEvent)
{
- const gcn::Key &key = keyEvent.getKey();
+ const Key &key = keyEvent.getKey();
const int action = keyEvent.getActionId();
switch (action)