comparison 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
comparison
equal deleted inserted replaced
3684:cc564f08884f 3685:64ce267332c6
23 #import <UIKit/UIKit.h> 23 #import <UIKit/UIKit.h>
24 #import "SDL_uikitopenglview.h" 24 #import "SDL_uikitopenglview.h"
25 25
26 /* *INDENT-OFF* */ 26 /* *INDENT-OFF* */
27 @interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> { 27 @interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> {
28 UIWindow *window; 28 SDL_Window *window;
29 SDL_WindowID windowID; 29 UIWindow *uiwindow;
30 } 30 }
31 31
32 @property (readwrite, retain) UIWindow *window; 32 @property (readwrite, assign) SDL_Window *window;
33 @property (readwrite, assign) SDL_WindowID windowID; 33 @property (readwrite, retain) UIWindow *uiwindow;
34 34
35 +(SDLUIKitDelegate *)sharedAppDelegate; 35 +(SDLUIKitDelegate *)sharedAppDelegate;
36 36
37 @end 37 @end
38 /* *INDENT-ON* */ 38 /* *INDENT-ON* */