From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Tue, 15 Jun 2021 01:40:19 +0000 Subject: [PATCH] update SDL soruce to 2.0.14 --- source/src/video/uikit/SDL_uikitview.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/source/src/video/uikit/SDL_uikitview.h b/source/src/video/uikit/SDL_uikitview.h index ce8ad3b..89b68c2 100644 --- a/source/src/video/uikit/SDL_uikitview.h +++ b/source/src/video/uikit/SDL_uikitview.h @@ -25,12 +25,21 @@ #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; -- Gitblit v1.9.3