[ui]: Adjust size and position in some cases
This commit is contained in:
1 parent
184ee67e70
commit
9849b09cd5
4 files changed
+52
-107
No files matched your search
@@ -10,6 +10,13 @@ FLOAT GetWindowScale(HWND hwnd)
|
||||
return scale;
|
||||
}
|
||||
|
||||
FLOAT GetForegroundWindowScale()
|
||||
{
|
||||
HWND hwnd = GetForegroundWindow();
|
||||
FLOAT scale = GetWindowScale(hwnd);
|
||||
return scale;
|
||||
}
|
||||
|
||||
//+---------------------------------------------------------------------------
|
||||
//
|
||||
// GetMonitorCoordinates
|
||||
|
||||
Reference in new issue
Block a user