Go to file
Sam Lantinga b44e7470de 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
VisualC Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Xcode Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Xcode-iOS Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
acinclude Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
android-project Fixed missing @Override annotation warning in source for Android. 2013-12-24 20:04:53 +01:00
build-scripts Enable ccache for Raspberry Pi buildbot script. 2013-12-15 00:21:42 -05:00
cmake Wayland support 2013-12-14 20:18:43 -03:00
debian Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
include Bump SDL to build with 10.7 SDK. 2013-12-27 10:18:11 -08:00
premake Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
src Fixed display mode calculations for applications which are not DPI aware. 2013-12-30 12:49:15 -08:00
test Fixed access of command line arguments on Android in two test programs. 2013-12-25 00:11:28 +01:00
visualtest Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
.hgignore Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Android.mk Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
BUGS.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
CMakeLists.txt Wayland support 2013-12-14 20:18:43 -03:00
COPYING.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
CREDITS.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
INSTALL.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Makefile.in Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Makefile.minimal Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Makefile.pandora Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Makefile.psp Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Makefile.wiz Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-SDL.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-android.txt Updated paths in README for Android. 2013-12-25 16:53:39 +01:00
README-cmake.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-directfb.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-gesture.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-hg.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-ios.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-linux.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-macosx.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-pandora.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-platforms.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-porting.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-psp.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-raspberrypi.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-touch.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-wince.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README-windows.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
README.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
SDL2.spec.in Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
TODO.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
VisualC.html Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
WhatsNew.txt Wayland support 2013-12-14 20:18:43 -03:00
autogen.sh Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
configure Implements touch support on QTWayland. Contributed by Thomas Perl. 2013-12-27 09:29:39 -03:00
configure.in Implements touch support on QTWayland. Contributed by Thomas Perl. 2013-12-27 09:29:39 -03:00
sdl2-config.in Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
sdl2.m4 Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
sdl2.pc.in Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00

README.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.


                         Simple DirectMedia Layer

                                  (SDL)

                                Version 2.0

---
http://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed
to provide low level access to audio, keyboard, mouse, joystick, and graphics
hardware via OpenGL and Direct3D. It is used by video playback software,
emulators, and popular games including Valve's award winning catalog
and many Humble Bundle games.

SDL officially supports Windows, Mac OS X, Linux, iOS, and Android.
Support for other platforms may be found in the source code.

SDL is written in C, works natively with C++, and there are bindings 
available for several other languages, including C# and Python.

This library is distributed under the zlib license, which can be found
in the file "COPYING.txt".

The best way to learn how to use SDL is to check out the header files in
the "include" subdirectory and the programs in the "test" subdirectory.
The header files and test programs are well commented and always up to date.
More documentation and FAQs are available online at:
	http://wiki.libsdl.org/

If you need help with the library, or just want to discuss SDL related
issues, you can join the developers mailing list:
	http://www.libsdl.org/mailing-list.php

If you want to report bugs or contribute patches, please submit them to
bugzilla:
    http://bugzilla.libsdl.org/

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)