21 #include "../../SDL_internal.h" 23 #import <UIKit/UIKit.h> 25 #include "../SDL_sysvideo.h" 30 #import <GameController/GameController.h> 31 #define SDLRootViewController GCEventViewController 33 #define SDLRootViewController UIViewController 36 #if SDL_IPHONE_KEYBOARD 44 - (instancetype)initWithSDLWindow:(
SDL_Window *)_window;
46 - (
void)setAnimationCallback:(
int)interval
48 callbackParam:(
void*)callbackParam;
53 - (
void)doLoop:(CADisplayLink*)sender;
63 #if SDL_IPHONE_KEYBOARD 67 - (
void)deinitKeyboard;
69 - (
void)keyboardWillShow:(NSNotification *)notification;
70 - (
void)keyboardWillHide:(NSNotification *)notification;
72 - (
void)updateKeyboard;
74 @property (nonatomic, assign, getter=isKeyboardVisible) BOOL keyboardVisible;
75 @property (nonatomic, assign)
SDL_Rect textInputRect;
76 @property (nonatomic, assign)
int keyboardHeight;
81 #if SDL_IPHONE_KEYBOARD
void viewDidLayoutSubviews()
BOOL prefersStatusBarHidden()
static Uint32 callback(Uint32 interval, void *param)
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
The type used to identify a window.
#define SDLRootViewController
A rectangle, with the origin at the upper left.
NSUInteger supportedInterfaceOrientations()