summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:46:33 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:46:33 +0000
commit137adb3496a47f79d4e0a15463c756341f8217a9 (patch)
treeccaf9feb2bd4c017c4684e220f0fcbff96e388e6 /src/network
parent2614ed18f9345dd41d461ea81e4cc1e5ec428e72 (diff)
downloadopenttd-137adb3496a47f79d4e0a15463c756341f8217a9.tar.xz
(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_chat_gui.cpp5
-rw-r--r--src/network/network_content_gui.cpp5
-rw-r--r--src/network/network_gui.cpp15
3 files changed, 0 insertions, 25 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index 7cab48730..9e7115d9e 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -502,11 +502,6 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
}
}
- virtual void OnMouseLoop()
- {
- this->HandleEditBox(WID_NC_TEXTBOX);
- }
-
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
EventState state = ES_NOT_HANDLED;
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 1137d36a9..bb9ca07f0 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -723,11 +723,6 @@ public:
}
}
- virtual void OnMouseLoop()
- {
- this->HandleEditBox(WID_NCL_FILTER);
- }
-
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
switch (keycode) {
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 34d9d9276..d01f20e28 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -775,11 +775,6 @@ public:
this->SetDirty();
}
- virtual void OnMouseLoop()
- {
- this->HandleEditBox(WID_NG_CLIENT);
- }
-
/**
* Some data on this window has become invalid.
* @param data Information about the changed data.
@@ -1179,11 +1174,6 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow {
this->SetDirty();
}
- virtual void OnMouseLoop()
- {
- this->HandleEditBox(WID_NSS_GAMENAME);
- }
-
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
EventState state = ES_NOT_HANDLED;
@@ -2164,11 +2154,6 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
}
}
- virtual void OnMouseLoop()
- {
- this->HandleEditBox(WID_NCP_PASSWORD);
- }
-
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
EventState state = ES_NOT_HANDLED;