SDL-mirror/src/video/windows
Sam Lantinga 1e764330e5 Fixed display mode calculations for applications which are not DPI aware.
If your application wants to have access to the full resolution even when the system has DPI scaling enabled, call SetProcessDPIAware() before calling SDL_Init()

e.g.
	typedef BOOL (WINAPI *SetProcessDPIAware_t)(void);
	HMODULE hMod = LoadLibrary("user32.dll");
	if ( hMod ) {
		SetProcessDPIAware_t pSetProcessDPIAware = GetProcAddress( hMod, "SetProcessDPIAware" );
		if ( pSetProcessDPIAware ) {
			pSetProcessDPIAware();
		}
		FreeLibrary( hMod );
	}
2013-12-30 12:49:15 -08:00
..
SDL_msctf.h
SDL_vkeys.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_windowsclipboard.c Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)). 2013-08-29 08:30:21 -07:00
SDL_windowsclipboard.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_windowsevents.c Make sure our window has mouse focus before processing raw input events. 2013-12-27 10:18:18 -08:00
SDL_windowsevents.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_windowsframebuffer.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_windowsframebuffer.h Fixed bug 1763 - Constify SDL_UpdateWindowSurfaceRects() 2013-03-19 21:53:33 -07:00
SDL_windowskeyboard.c Fixed some warnings building for 64-bit Windows 2013-10-21 01:16:16 -07:00
SDL_windowskeyboard.h Cleaned up and fixed the Windows keyboard mapping code. 2013-02-28 21:40:08 -08:00
SDL_windowsmessagebox.c Fixed some warnings building for 64-bit Windows 2013-10-21 01:16:16 -07:00
SDL_windowsmessagebox.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_windowsmodes.c Fixed display mode calculations for applications which are not DPI aware. 2013-12-30 12:49:15 -08:00
SDL_windowsmodes.h Fixed display mode calculations for applications which are not DPI aware. 2013-12-30 12:49:15 -08:00
SDL_windowsmouse.c Added support for double-clicks, through a new "clicks" field in the mouse button event. 2013-12-23 12:17:52 -08:00
SDL_windowsmouse.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_windowsopengl.c Fixed pointer from integer warning and bug if compiled without EGL. 2013-12-25 16:57:59 +01:00
SDL_windowsopengl.h OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
SDL_windowsopengles.c Fixed spaces in license comment. 2013-11-23 18:34:27 +01:00
SDL_windowsopengles.h Fixed spaces in license comment. 2013-11-23 18:34:27 +01:00
SDL_windowsshape.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_windowsshape.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_windowsvideo.c Backed out revision d4a39491577f, the platform specific messagebox functions don't have the right prototype since they're designed to be used standalone. 2013-10-14 09:12:30 -07:00
SDL_windowsvideo.h OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
SDL_windowswindow.c Setting the mouse in relative mode implies grabbing the mouse. 2013-12-23 17:55:06 -08:00
SDL_windowswindow.h Setting the mouse in relative mode implies grabbing the mouse. 2013-12-23 17:55:06 -08:00
wmmsg.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00