From 3cce70d5881a997d88e2280ba49f97178f3b48fc Mon Sep 17 00:00:00 2001 From: "joogab.yun" Date: Fri, 11 Feb 2022 11:14:55 +0900 Subject: [PATCH] Add FeedTouchPoint and FeedWheelEvent api binding Change-Id: I82b947086e17fec100cb84f2b54d662044dd8c7b --- dali-csharp-binder/src/window-wrap.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/dali-csharp-binder/src/window-wrap.cpp b/dali-csharp-binder/src/window-wrap.cpp index a77a70e..79fadec 100644 --- a/dali-csharp-binder/src/window-wrap.cpp +++ b/dali-csharp-binder/src/window-wrap.cpp @@ -1493,6 +1493,36 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) { } } +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedTouchPoint(void * touchPoint, int timeStamp) { + Dali::TouchPoint *arg1 = 0 ; + + arg1 = (Dali::TouchPoint *)touchPoint; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TouchPoint & type is null", 0); + return ; + } + { + try { + Dali::Adaptor::Get().FeedTouchPoint(*arg1, timeStamp); + } CALL_CATCH_EXCEPTION(); + } +} + +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedWheelEvent(void * wheelEvent) { + Dali::WheelEvent *arg1 = 0 ; + + arg1 = (Dali::WheelEvent *)wheelEvent; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WheelEvent & type is null", 0); + return ; + } + { + try { + Dali::Adaptor::Get().FeedWheelEvent(*arg1); + } CALL_CATCH_EXCEPTION(); + } +} + SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) { try { Dali::Adaptor::Get().RenderOnce(); -- 2.7.4