Mercurial > sdl-ios-xcode
diff src/video/uikit/SDL_uikitappdelegate.h @ 3685:64ce267332c6
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 21 Jan 2010 06:21:52 +0000 |
parents | 4ec48602f1db |
children | f7b03b6838cb |
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitappdelegate.h Thu Jan 21 05:49:41 2010 +0000 +++ b/src/video/uikit/SDL_uikitappdelegate.h Thu Jan 21 06:21:52 2010 +0000 @@ -25,12 +25,12 @@ /* *INDENT-OFF* */ @interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> { - UIWindow *window; - SDL_WindowID windowID; + SDL_Window *window; + UIWindow *uiwindow; } -@property (readwrite, retain) UIWindow *window; -@property (readwrite, assign) SDL_WindowID windowID; +@property (readwrite, assign) SDL_Window *window; +@property (readwrite, retain) UIWindow *uiwindow; +(SDLUIKitDelegate *)sharedAppDelegate;