No description
Find a file
Sam Lantinga 5e1ffb1cc3 Allow overriding the app delegate on iOS
Vittorio G.  to Eric, Sam

Actually this is much simpler than i thought, I just had to specify a
class method to get the delegate name and then the category can
override that method!
I've attached the patch that enables this features: in my code i could
remove my custom main() and simply add

@implementation SDLUIKitDelegate (customDelegate)
+(NSString *)getAppDelegateClassName {
   return @"HedgewarsAppDelegate";
}
@end

I tested it and with the sdl demos it loads the normal
SDLUIKitDelegate, while in my code it loads my HedgewarsAppDelegate!
2011-04-05 09:50:25 -07:00
acinclude Ozkan Sezer to slouken 2011-01-26 12:23:32 -08:00
android-project Try to create an OpenGL ES 2.0 context on Android and successfully fall back to OpenGL ES 1.1 if that fails. 2011-02-07 17:44:07 -08:00
build-scripts Added a revision number for easy compile-time tests. 2011-02-20 10:42:51 -08:00
include Added SDL_GetRenderer() 2011-04-04 09:29:13 -07:00
src Allow overriding the app delegate on iOS 2011-04-05 09:50:25 -07:00
test Backed out changeset ef550bdb8c1b 2011-03-28 20:33:41 -07:00
VisualC Fixed permissions 2011-03-25 10:54:13 -07:00
VisualCE Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion. 2011-02-16 15:46:12 -08:00
Xcode Don't be clever, just call it testthread 2011-03-25 11:09:57 -07:00
Xcode-iPhoneOS Make the iOS test projects target iPhone and iPad instead of just the phone. 2011-03-28 15:18:01 -04:00
.DISABLED-hgeol Disable .hgeol for now...it doesn't work well at the moment. 2011-01-20 11:51:23 -05:00
.hgignore Removed obsolete test program 2011-03-08 16:58:45 -08:00
.hgtags Tagging version before everything gets ripped out. 2010-05-09 17:00:56 -07:00
.indent.pro
aclocal.m4 Made it possible to build SDL from a fresh checkout without any additional steps. 2011-02-16 02:37:09 -08:00
Android.mk Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h 2011-02-06 02:35:14 -08:00
autogen.sh SDL_revision.h is always updated as part of the build process now. 2011-02-28 09:06:15 -08:00
Borland.html
Borland.zip
BUGS
configure SDL 1.3 requires a 64-bit type for the platform. 2011-03-25 13:47:49 -07:00
configure.in SDL 1.3 requires a 64-bit type for the platform. 2011-03-25 13:47:49 -07:00
COPYING
CREDITS
INSTALL Added svn checkout install step 2009-12-14 23:43:57 +00:00
Makefile.ds NDS update 2011-03-26 21:26:05 -07:00
Makefile.in Make it possible to run "make dist" from a separate build directory. 2011-03-15 23:26:22 -07:00
Makefile.minimal Made it possible to build SDL from a fresh checkout without any additional steps. 2011-02-16 02:37:09 -08:00
Makefile.pandora Hello Sam. 2010-06-17 22:23:20 -07:00
Makefile.wiz
NOTES
README There are bindings to Go at https://github.com/banthar/Go-SDL 2011-02-16 15:56:37 -08:00
README-SDL.txt
README.android Added information about starting a command shell on the device 2011-01-12 12:40:11 -08:00
README.BeOS
README.DirectFB Updated the DirectFB support, from Couriersud 2011-02-05 16:07:10 -08:00
README.ds NDS update 2011-03-26 21:26:05 -07:00
README.gesture Fixed some typos in the documentation 2010-08-22 12:03:53 -07:00
README.HG Whitespace change in a README. 2011-01-22 03:57:27 -05:00
README.iphoneos Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture 2010-08-15 00:36:28 -04:00
README.MacOSX
README.pandora
README.Platforms SDL still supports older iPod Touch and first generation iPhones. 2011-02-21 11:04:27 -08:00
README.Porting
README.touch Fixed some typos in the documentation 2010-08-22 12:03:53 -07:00
README.Watcom Fixed bug #818 2009-12-15 20:11:29 +00:00
README.WinCE
sdl-config.in
sdl.m4 Fixed bug 978 2010-04-23 02:19:34 -07:00
sdl.pc.in
SDL.spec.in Nobody has stepped up to maintain an svgalib driver. Bye bye! :) 2011-01-19 22:21:31 -08:00
TODO Working on Cocoa implementation. 2010-07-26 21:48:53 -04:00
UNDER_CONSTRUCTION.txt
VisualC.html
Watcom-Win32.zip Fixed bug #818 2009-12-15 20:11:29 +00:00
WhatsNew Clearing the API changes for the 1.3.0 release 2011-01-19 22:20:44 -08:00

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 1.3

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

This is the Simple DirectMedia Layer, a general API that provides low
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
and 2D framebuffer across multiple platforms.

The current version supports Windows, Windows CE, Mac OS X, Linux, FreeBSD,
NetBSD, OpenBSD, BSD/OS, Solaris, iOS, and Android. The code contains
support for other operating systems but those are not officially supported.

SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Erlang, Euphoria,
Go, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
Pike, Pliant, Python, Ruby, and Smalltalk.

This library is distributed under GNU LGPL version 2, which can be
found in the file  "COPYING".  This license allows you to use SDL
freely in commercial programs as long as you link with the dynamic
library.

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 is available in HTML format in "docs/index.html", and
a documentation wiki is available online at:
	http://www.libsdl.org/cgi/docwiki.cgi

The test programs in the "test" subdirectory are in the public domain.

Frequently asked questions are answered online:
	http://www.libsdl.org/faq.php

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

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)