summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 14:22:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 15:19:51 +0300
commit8406b00588070266ae8af2bf25776f2fa716af69 (patch)
treef3515975feaf7dad0a7fa6ee33f6c88d1c6579b3 /src/gui/widgets/textfield.cpp
parentf880384018ee23efdc5cc072789e176208956a06 (diff)
downloadmanaplus-8406b00588070266ae8af2bf25776f2fa716af69.tar.gz
manaplus-8406b00588070266ae8af2bf25776f2fa716af69.tar.bz2
manaplus-8406b00588070266ae8af2bf25776f2fa716af69.tar.xz
manaplus-8406b00588070266ae8af2bf25776f2fa716af69.zip
move mouseevent into events directory.
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r--src/gui/widgets/textfield.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index aa554b30f..0d01df51d 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -726,13 +726,13 @@ void TextField::fontChanged()
fixScroll();
}
-void TextField::mousePressed(gcn::MouseEvent &mouseEvent)
+void TextField::mousePressed(MouseEvent &mouseEvent)
{
#ifdef ANDROID
if (!client->isKeyboardVisible())
inputManager.executeAction(Input::KEY_SHOW_KEYBOARD);
#endif
- if (mouseEvent.getButton() == gcn::MouseEvent::RIGHT)
+ if (mouseEvent.getButton() == MouseEvent::RIGHT)
{
if (viewport)
{