(svn r19705) -Change: reinitialise the windows when changing the newgrf_developer_tools setting

This commit is contained in:
rubidium
2010-04-24 13:22:17 +00:00
parent 3461430a34
commit fef77ca53e
2 changed files with 14 additions and 1 deletions

View File

@@ -679,6 +679,18 @@ static bool RedrawScreen(int32 p1)
return true;
}
/**
* Reinitalise all windows, i.e. construct their windows
* from the begin. For example to show a particular button
* that was previously hidden.
* @param p1 ignored
*/
static bool ReinitWindows(int32 p1)
{
ReInitAllWindows();
return true;
}
/**
* Redraw the smallmap after a colour scheme change.
* @param p1 Callback parameter.