(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.

This commit is contained in:
frosch
2009-09-13 19:15:59 +00:00
parent 5de9cc46b5
commit ebd916be3d
61 changed files with 323 additions and 323 deletions

View File

@@ -462,10 +462,10 @@ Point GetTileZoomCenterWindow(bool in, Window * w)
void HandleZoomMessage(Window *w, const ViewPort *vp, byte widget_zoom_in, byte widget_zoom_out)
{
w->SetWidgetDisabledState(widget_zoom_in, vp->zoom == ZOOM_LVL_MIN);
w->InvalidateWidget(widget_zoom_in);
w->SetWidgetDirty(widget_zoom_in);
w->SetWidgetDisabledState(widget_zoom_out, vp->zoom == ZOOM_LVL_MAX);
w->InvalidateWidget(widget_zoom_out);
w->SetWidgetDirty(widget_zoom_out);
}
/**