From: joogab.yun Date: Tue, 17 Oct 2023 07:45:17 +0000 (+0900) Subject: [Tizen] Binding FeedTouch and SetGeometryHittestEnabled for GeometyrTouch and New... X-Git-Tag: accepted/tizen/8.0/unified/20240109.155500^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74ce5b4cfe022e12ddce13b848f069b5c5dded1f;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git [Tizen] Binding FeedTouch and SetGeometryHittestEnabled for GeometyrTouch and New Gesture Change-Id: I85af33c6edec514805ba61ffe8810b3f5690ae2c --- diff --git a/dali-csharp-binder/common/dali-wrap.cpp b/dali-csharp-binder/common/dali-wrap.cpp index 7f7fd4f..e827e71 100644 --- a/dali-csharp-binder/common/dali-wrap.cpp +++ b/dali-csharp-binder/common/dali-wrap.cpp @@ -14899,6 +14899,21 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GestureDetector_GetAttachedActor(void return jresult; } +SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_GestureDetector_FeedTouch(void * jdetector, void * jactor, void * jtouch) { + bool result = false; + Dali::GestureDetector *detector = (Dali::GestureDetector *)jdetector; + Dali::Actor *actor = (Dali::Actor *)jactor; + Dali::TouchEvent *touchEvent = (Dali::TouchEvent *)jtouch; + + { + try { + result = ((Dali::GestureDetector *)detector)->FeedTouch(*actor, *touchEvent); + } CALL_CATCH_EXCEPTION(0); + } + + return result; +} + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Gesture(void * jarg1) { void * jresult ; diff --git a/dali-csharp-binder/dali-adaptor/dali-adaptor-wrap.cpp b/dali-csharp-binder/dali-adaptor/dali-adaptor-wrap.cpp index 1ca4b03..d8815d1 100644 --- a/dali-csharp-binder/dali-adaptor/dali-adaptor-wrap.cpp +++ b/dali-csharp-binder/dali-adaptor/dali-adaptor-wrap.cpp @@ -79,6 +79,14 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetScreenSize() { return jresult; } +SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetGeometryHittestEnabled(bool enable) { + + try { + Dali::DevelWindowSystem::SetGeometryHittestEnabled(enable); + } CALL_CATCH_EXCEPTION(); + +} + // Timer