(svn r19705) -Change: reinitialise the windows when changing the newgrf_developer_tools setting
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user