summaryrefslogtreecommitdiffstats
path: root/Imgui/interface
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-01 15:47:30 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-01 15:47:30 +0000
commit62a8a0a6de3e80feae61865eb046c46a576139e3 (patch)
treee603a1777ed3891e9deb1e56e979398d8729859d /Imgui/interface
parentPreliminary implementation of imgui on iOS (diff)
downloadDiligentTools-62a8a0a6de3e80feae61865eb046c46a576139e3.tar.gz
DiligentTools-62a8a0a6de3e80feae61865eb046c46a576139e3.zip
ImGui: enabled touch event handling on iOS
Diffstat (limited to 'Imgui/interface')
-rw-r--r--Imgui/interface/ImGuiImplIOS.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Imgui/interface/ImGuiImplIOS.h b/Imgui/interface/ImGuiImplIOS.h
index d8aa044..8f70d0e 100644
--- a/Imgui/interface/ImGuiImplIOS.h
+++ b/Imgui/interface/ImGuiImplIOS.h
@@ -49,6 +49,7 @@ public:
virtual void NewFrame()override final;
virtual void Render(IDeviceContext* pCtx)override final;
void SetDisplaySize(Uint32 DisplayWidth, Uint32 DisplayHeight);
+ bool OnTouchEvent(float x, float y, bool IsActive);
private:
std::mutex m_Mtx;