mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-27 16:28:40 +00:00
The hint allows setting a specific DPI awareness ("unaware", "system", "permonitor", "permonitorv2").
This is the first part of High-DPI support on Windows ( https://github.com/libsdl-org/SDL/issues/2119 ).
It doesn't implement a virtualized SDL coordinate system, which will be
addressed in a later commit. (This hint could be useful for SDL apps
that want 1 SDL unit = 1 pixel, though.)
Detecting and behaving correctly under per-monitor V2
(calling AdjustWindowRectExForDpi where needed) should fix the
following issues:
https://github.com/libsdl-org/SDL/issues/3286
https://github.com/libsdl-org/SDL/issues/4712
|
||
|---|---|---|
| .. | ||
| SDL_msctf.h | ||
| SDL_vkeys.h | ||
| SDL_windowsclipboard.c | ||
| SDL_windowsclipboard.h | ||
| SDL_windowsevents.c | ||
| SDL_windowsevents.h | ||
| SDL_windowsframebuffer.c | ||
| SDL_windowsframebuffer.h | ||
| SDL_windowskeyboard.c | ||
| SDL_windowskeyboard.h | ||
| SDL_windowsmessagebox.c | ||
| SDL_windowsmessagebox.h | ||
| SDL_windowsmodes.c | ||
| SDL_windowsmodes.h | ||
| SDL_windowsmouse.c | ||
| SDL_windowsmouse.h | ||
| SDL_windowsopengl.c | ||
| SDL_windowsopengl.h | ||
| SDL_windowsopengles.c | ||
| SDL_windowsopengles.h | ||
| SDL_windowsshape.c | ||
| SDL_windowsshape.h | ||
| SDL_windowstaskdialog.h | ||
| SDL_windowsvideo.c | ||
| SDL_windowsvideo.h | ||
| SDL_windowsvulkan.c | ||
| SDL_windowsvulkan.h | ||
| SDL_windowswindow.c | ||
| SDL_windowswindow.h | ||
| wmmsg.h | ||