(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.

This commit is contained in:
rubidium
2008-05-17 12:48:06 +00:00
parent d8154e00ac
commit 8b54212900
41 changed files with 156 additions and 159 deletions

View File

@@ -75,7 +75,7 @@ static void SignListWndProc(Window *w, WindowEvent *e)
SetVScrollCount(w, _num_sign_sort);
SetDParam(0, w->vscroll.count);
DrawWindowWidgets(w);
w->DrawWidgets();
/* No signs? */
int y = 16; // offset from top of widget
@@ -197,7 +197,7 @@ struct SignWindow : QueryStringBaseWindow {
virtual void OnPaint()
{
SetDParam(0, this->caption);
DrawWindowWidgets(this);
this->DrawWidgets();
this->DrawEditBox(QUERY_EDIT_SIGN_WIDGET_TEXT);
}