1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.

This commit is contained in:
frosch
2012-11-13 21:47:07 +00:00
parent c4d7c8dd42
commit 2c22fe98dd
12 changed files with 17 additions and 18 deletions

View File

@@ -514,7 +514,7 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
return state;
}
virtual void OnOSKInput(int wid)
virtual void OnEditboxChanged(int wid)
{
_chat_tab_completion_active = false;
}

View File

@@ -779,7 +779,7 @@ public:
return ES_HANDLED;
}
virtual void OnOSKInput(int wid)
virtual void OnEditboxChanged(int wid)
{
if (wid == WID_NCL_FILTER) {
this->string_filter.SetFilterTerm(this->edit_str_buf);

View File

@@ -847,7 +847,7 @@ public:
return state;
}
virtual void OnOSKInput(int wid)
virtual void OnEditboxChanged(int wid)
{
if (wid == WID_NG_CLIENT) {
/* The name is only allowed when it starts with a letter! */
@@ -1170,7 +1170,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow {
this->SetDirty();
}
virtual void OnOSKInput(int wid)
virtual void OnEditboxChanged(int wid)
{
if (wid == WID_NSS_GAMENAME) {
strecpy(_settings_client.network.server_name, this->text.buf, lastof(_settings_client.network.server_name));