Simple Directmedia Layer
Go to file
Alex Szpakowski 01bfc2158a Several improvements to the iOS backend:
- Added new custom launch screen code. It uses the launch screen nib when available on iOS 8+, the launch images dictionary if the launch screen nib isn't available, and the old standard image names if the launch image dictionary isn't in the plist.
The launch screen is now hidden during the first call to SDL_PumpEvents rather than SDL_CreateWindow so apps can have the launch screen still visible if they do time-consuming loading after creating their window. It also fades out in roughly the same way as the system launch screen behavior.
It can be disabled by setting the SDL_IPHONE_LAUNCHSCREEN define in SDL_config_iphoneos.h to 0.

- A blank UIView is now created and displayed when the window is first created. The old behavior was to defer creating any view until SDL_GL_CreateContext, which prevented rotation, touch events, and other windowing-related things from working until then. This also makes it easier to use SDL_GetWindowWMInfo after creating a window.

- Moved the keyboard and animation callback code from SDL's UIView subclasses to its UIViewController subclass, which lets them work properly in all cases when a SDL window is valid, even before SDL_GL_CreateContext is called and after SDL_GL_DeleteContext is called.

- SDL_GL_CreateContext, SDL_GL_SwapWindow, SDL_GL_MakeCurrent, and SDL_GL_DeleteContext are more robust.

- Fixed some edge cases where SDL windows weren't rotating properly or their reported sizes were out of sync with their actual sizes.

- Removed all calls to [UIApplication setStatusBarOrientation:]. It doesn't seem to work as expected in all cases in recent iOS versions.

- Some code style cleanup.
2015-01-15 01:06:14 -04:00
acinclude Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
android-project Added name for second Java Thread on Android. 2014-11-23 20:35:51 +01:00
build-scripts Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
cmake Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
debian Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
docs WinRT: bug and data-integrity fixes for SDL_GetPrefPath() 2014-11-29 10:09:30 -05:00
include Several improvements to the iOS backend: 2015-01-15 01:06:14 -04:00
premake Several improvements to the iOS backend: 2015-01-15 01:06:14 -04:00
src Several improvements to the iOS backend: 2015-01-15 01:06:14 -04:00
test Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes 2014-11-30 20:55:27 -08:00
VisualC Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
VisualC-WinRT Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
visualtest Removed generated doxygen output of visual test suite. 2014-11-30 22:17:12 +01:00
Xcode add controllermap program to SDLTest xcode project 2014-11-23 15:21:49 -05:00
Xcode-iOS Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
.hgignore Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
Android.mk Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
autogen.sh Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
BUGS.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
cmake_uninstall.cmake.in Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
CMakeLists.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
configure Fixed bug 2795 - SDL library detection selects the wrong lib 2014-11-29 14:41:18 -08:00
configure.in Fixed bug 2795 - SDL library detection selects the wrong lib 2014-11-29 14:41:18 -08:00
COPYING.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
CREDITS.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
INSTALL.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
Makefile.in Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
Makefile.minimal Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
Makefile.pandora Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
Makefile.psp Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
Makefile.wiz Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
README-SDL.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
README.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
sdl2-config.in Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
sdl2.m4 Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
sdl2.pc.in Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
SDL2.spec.in Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
TODO.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
VisualC.html Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
WhatsNew.txt Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00

                         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.

More extensive documentation is available in the docs directory, starting
with README.md

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)