src/video/uikit/SDL_uikitviewcontroller.h
branchiOS-improvements
changeset 9501 574db299498f
parent 9492 cad5a9995bde
child 9532 318042c16b76
equal deleted inserted replaced
9500:cbf5c5ecf5ac 9501:574db299498f
    21 
    21 
    22 #import <UIKit/UIKit.h>
    22 #import <UIKit/UIKit.h>
    23 
    23 
    24 #include "../SDL_sysvideo.h"
    24 #include "../SDL_sysvideo.h"
    25 
    25 
    26 @interface SDL_uikitviewcontroller : UIViewController {
    26 @interface SDL_uikitviewcontroller : UIViewController
    27 @private
       
    28     SDL_Window *window;
       
    29 }
       
    30 
    27 
    31 @property (nonatomic, readwrite) SDL_Window *window;
    28 @property (nonatomic, assign) SDL_Window *window;
    32 
    29 
    33 - (id)initWithSDLWindow:(SDL_Window *)_window;
    30 - (id)initWithSDLWindow:(SDL_Window *)_window;
    34 - (void)loadView;
    31 - (void)loadView;
    35 - (void)viewDidLayoutSubviews;
    32 - (void)viewDidLayoutSubviews;
    36 - (NSUInteger)supportedInterfaceOrientations;
    33 - (NSUInteger)supportedInterfaceOrientations;