Dpi fixes (#449)

* Potential fix for DPI scaling.

* Show window size in pixels while in Fullscreen mode.
This commit is contained in:
Darío
2025-02-22 10:12:56 -03:00
committed by GitHub
parent c90d1fcb7b
commit 03ef34ffe8
5 changed files with 38 additions and 18 deletions
+1
View File
@@ -37,6 +37,7 @@ public:
static bool IsMaximised();
static EWindowState SetMaximised(bool isEnabled);
static SDL_Rect GetDimensions();
static void GetSizeInPixels(int *w, int *h);
static void SetDimensions(int w, int h, int x = SDL_WINDOWPOS_CENTERED, int y = SDL_WINDOWPOS_CENTERED);
static void ResetDimensions();
static uint32_t GetWindowFlags();