forked from mirror/OpenTTD
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user