(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.

This commit is contained in:
frosch
2012-11-13 21:46:19 +00:00
parent 8cd77b6f6e
commit 17025fa6ea
13 changed files with 7 additions and 74 deletions

View File

@@ -204,7 +204,6 @@ struct SignListWindow : QueryStringBaseWindow, SignList {
{
if (this->signs.NeedRebuild()) this->BuildSortSignList();
this->DrawWidgets();
if (!this->IsShaded()) this->DrawEditBox(WID_SIL_FILTER_TEXT);
}
virtual void DrawWidget(const Rect &r, int widget) const
@@ -523,12 +522,6 @@ struct SignWindow : QueryStringBaseWindow, SignList {
}
}
virtual void OnPaint()
{
this->DrawWidgets();
if (!this->IsShaded()) this->DrawEditBox(WID_QES_TEXT);
}
virtual void OnClick(Point pt, int widget, int click_count)
{
switch (widget) {