From 642013ad23156f6be32dc1144f4d1b448ccea511 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 13 Feb 2018 20:08:49 -0800 Subject: Implemented simple touch handling on iOS Showing dialog box if the app fails to start on iOS --- Common/NativeApp/include/IOS/IOSAppBase.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Common/NativeApp/include/IOS/IOSAppBase.h') diff --git a/Common/NativeApp/include/IOS/IOSAppBase.h b/Common/NativeApp/include/IOS/IOSAppBase.h index 49e6089..181cdf9 100644 --- a/Common/NativeApp/include/IOS/IOSAppBase.h +++ b/Common/NativeApp/include/IOS/IOSAppBase.h @@ -32,6 +32,9 @@ public: using AppBase::Update; void Update(); virtual void OnGLContextCreated(void *eaglLayer) = 0; + virtual void OnTouchBegan(float x, float y){} + virtual void OnTouchMoved(float x, float y){} + virtual void OnTouchEnded(float x, float y){} protected: Diligent::Timer timer; -- cgit v1.2.3