22 #import <UIKit/UIKit.h> 24 #include "../SDL_sysvideo.h" 28 #if SDL_IPHONE_KEYBOARD 36 - (instancetype)initWithSDLWindow:(
SDL_Window *)_window;
38 - (
void)setAnimationCallback:(
int)interval
40 callbackParam:(
void*)callbackParam;
45 - (
void)doLoop:(CADisplayLink*)sender;
52 #if SDL_IPHONE_KEYBOARD 56 - (
void)deinitKeyboard;
58 - (
void)keyboardWillShow:(NSNotification *)notification;
59 - (
void)keyboardWillHide:(NSNotification *)notification;
61 - (
void)updateKeyboard;
63 @property (nonatomic, assign, getter=isKeyboardVisible) BOOL keyboardVisible;
64 @property (nonatomic, assign)
SDL_Rect textInputRect;
65 @property (nonatomic, assign)
int keyboardHeight;
70 #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.
A rectangle, with the origin at the upper left.
NSUInteger supportedInterfaceOrientations()