Fix: Recalculate padding and minimum sizes when GUI or Font zoom is changed.
(cherry picked from commit 4791ff2862
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
43a3a233df
commit
a469b4f395
@@ -43,7 +43,11 @@ void DeleteConstructionWindows();
|
||||
void HideVitalWindows();
|
||||
void ShowVitalWindows();
|
||||
|
||||
void ReInitAllWindows();
|
||||
/**
|
||||
* Re-initialize all windows.
|
||||
* @param zoom_changed Set if windows are being re-initialized due to a zoom level changed.
|
||||
*/
|
||||
void ReInitAllWindows(bool zoom_changed);
|
||||
|
||||
void SetWindowWidgetDirty(WindowClass cls, WindowNumber number, byte widget_index);
|
||||
void SetWindowDirty(WindowClass cls, WindowNumber number);
|
||||
|
Reference in New Issue
Block a user