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;
67 #if SDL_IPHONE_KEYBOARD 71 - (
void)deinitKeyboard;
73 - (
void)keyboardWillShow:(NSNotification *)notification;
74 - (
void)keyboardWillHide:(NSNotification *)notification;
76 - (
void)updateKeyboard;
78 @property (nonatomic, assign, getter=isKeyboardVisible) BOOL keyboardVisible;
79 @property (nonatomic, assign)
SDL_Rect textInputRect;
80 @property (nonatomic, assign)
int keyboardHeight;
85 #if SDL_IPHONE_KEYBOARD
UIRectEdge preferredScreenEdgesDeferringSystemGestures()
void viewDidLayoutSubviews()
BOOL prefersStatusBarHidden()
static Uint32 callback(Uint32 interval, void *param)
EGLSurface EGLNativeWindowType * window
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
BOOL prefersHomeIndicatorAutoHidden()
A rectangle, with the origin at the upper left.
NSUInteger supportedInterfaceOrientations()