Feature: Variable GUI scale.

GUI scale is now variable from 100% to 500%, and no longer restricted to
powers-of-2.
This commit is contained in:
Peter Nelson
2021-04-20 11:49:20 +01:00
committed by PeterN
parent 13d271217f
commit 9666e46739
22 changed files with 175 additions and 205 deletions

View File

@@ -675,7 +675,7 @@ LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
}
case WM_DPICHANGED: {
auto did_adjust = AdjustGUIZoom();
auto did_adjust = AdjustGUIZoom(true);
/* Resize the window to match the new DPI setting. */
RECT *prcNewWindow = (RECT *)lParam;