SDL/src/video/windows
Eric Wasylishen 51ebefeeee Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS
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
2022-06-11 14:19:01 -07:00
..
SDL_msctf.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_vkeys.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsclipboard.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsclipboard.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsevents.c Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS 2022-06-11 14:19:01 -07:00
SDL_windowsevents.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsframebuffer.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsframebuffer.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowskeyboard.c ime: windows: allocate space for null terminator 2022-05-28 08:57:29 -07:00
SDL_windowskeyboard.h IME Composition Truncation + SDL_IsTextInputShown + SDL_ClearComposition (#5398) 2022-03-11 14:45:17 -08:00
SDL_windowsmessagebox.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsmessagebox.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsmodes.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsmodes.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsmouse.c Fixed freeing the Windows blank cursor 2022-03-17 17:58:35 -07:00
SDL_windowsmouse.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsopengl.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsopengl.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsopengles.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsopengles.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsshape.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsshape.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowstaskdialog.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsvideo.c Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS 2022-06-11 14:19:01 -07:00
SDL_windowsvideo.h Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS 2022-06-11 14:19:01 -07:00
SDL_windowsvulkan.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowsvulkan.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_windowswindow.c Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS 2022-06-11 14:19:01 -07:00
SDL_windowswindow.h Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER, controlling whether the mouse should be constrained to the center of the window or the whole window in relative mode. 2022-03-18 10:07:59 -07:00
wmmsg.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00