Add: [Win32] Automatic zoom level suggestion for Win32 video driver.

The zoom level suggestion is based on the DPI scaling set in Windows.
We use 150% scaling as the threshold for 2X zoom and 300% scaling
as the threshold for 4X zoom.
This commit is contained in:
Michael Lutz
2021-01-08 22:17:04 +01:00
parent f137b3057a
commit f175e38666
2 changed files with 42 additions and 0 deletions

View File

@@ -43,6 +43,8 @@ public:
protected:
Dimension GetScreenSize() const override;
float GetDPIScale() override;
};
/** The factory for Windows' video driver. */