|
|
|
@ -773,7 +773,7 @@ void QueryString::HandleEditBox(Window *w, int wid)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void QueryString::DrawEditBox(Window *w, int wid)
|
|
|
|
|
void QueryString::DrawEditBox(const Window *w, int wid) const
|
|
|
|
|
{
|
|
|
|
|
const NWidgetBase *wi = w->GetWidget<NWidgetBase>(wid);
|
|
|
|
|
|
|
|
|
@ -818,11 +818,6 @@ void QueryStringBaseWindow::HandleEditBox(int wid)
|
|
|
|
|
this->QueryString::HandleEditBox(this, wid);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void QueryStringBaseWindow::DrawEditBox(int wid)
|
|
|
|
|
{
|
|
|
|
|
this->QueryString::DrawEditBox(this, wid);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void QueryStringBaseWindow::OnOpenOSKWindow(int wid)
|
|
|
|
|
{
|
|
|
|
|
ShowOnScreenKeyboard(this, wid, 0, 0);
|
|
|
|
@ -870,13 +865,6 @@ struct QueryStringWindow : public QueryStringBaseWindow
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual void OnPaint()
|
|
|
|
|
{
|
|
|
|
|
this->DrawWidgets();
|
|
|
|
|
|
|
|
|
|
this->DrawEditBox(WID_QS_TEXT);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual void SetStringParameters(int widget) const
|
|
|
|
|
{
|
|
|
|
|
if (widget == WID_QS_CAPTION) SetDParam(0, this->caption);
|
|
|
|
|