| | |
| | | |
| | | #include "SDL_touch.h" |
| | | |
| | | #if !TARGET_OS_TV && defined(__IPHONE_13_4) |
| | | @interface SDL_uikitview : UIView <UIPointerInteractionDelegate> |
| | | #else |
| | | @interface SDL_uikitview : UIView |
| | | #endif |
| | | |
| | | - (instancetype)initWithFrame:(CGRect)frame; |
| | | |
| | | - (void)setSDLWindow:(SDL_Window *)window; |
| | | |
| | | #if !TARGET_OS_TV && defined(__IPHONE_13_4) |
| | | - (UIPointerRegion *)pointerInteraction:(UIPointerInteraction *)interaction regionForRequest:(UIPointerRegionRequest *)request defaultRegion:(UIPointerRegion *)defaultRegion API_AVAILABLE(ios(13.4)); |
| | | - (UIPointerStyle *)pointerInteraction:(UIPointerInteraction *)interaction styleForRegion:(UIPointerRegion *)region API_AVAILABLE(ios(13.4)); |
| | | #endif |
| | | |
| | | - (CGPoint)touchLocation:(UITouch *)touch shouldNormalize:(BOOL)normalize; |
| | | - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
| | | - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |