From 9e3f92a3914e28ce01331d7df7d03c31244a843b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Feb 2014 13:30:46 +0300 Subject: move keyevent into events directory. --- src/gui/windows/inventorywindow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/inventorywindow.cpp') diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 2412b524b..24b5cdab3 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -28,8 +28,9 @@ #include "being/playerinfo.h" +#include "events/keyevent.h" + #include "input/inputmanager.h" -#include "input/keyevent.h" #include "gui/viewport.h" @@ -612,7 +613,7 @@ void InventoryWindow::mouseExited(gcn::MouseEvent &event A_UNUSED) mTextPopup->hide(); } -void InventoryWindow::keyPressed(gcn::KeyEvent &event) +void InventoryWindow::keyPressed(KeyEvent &event) { if (static_cast(&event)->getActionId() == static_cast(Input::KEY_GUI_MOD)) @@ -621,7 +622,7 @@ void InventoryWindow::keyPressed(gcn::KeyEvent &event) } } -void InventoryWindow::keyReleased(gcn::KeyEvent &event) +void InventoryWindow::keyReleased(KeyEvent &event) { if (static_cast(&event)->getActionId() == static_cast(Input::KEY_GUI_MOD)) -- cgit v1.2.3-70-g09d2