From 137adb3496a47f79d4e0a15463c756341f8217a9 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 13 Nov 2012 21:46:33 +0000 Subject: (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. --- src/network/network_chat_gui.cpp | 5 ----- src/network/network_content_gui.cpp | 5 ----- src/network/network_gui.cpp | 15 --------------- 3 files changed, 25 deletions(-) (limited to 'src/network') 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; -- cgit v1.2.3-70-g09d2