From 99ee21c60eca8421890702c58aec476c4ecc0150 Mon Sep 17 00:00:00 2001 From: Seungho Baek Date: Tue, 28 Sep 2021 15:44:08 +0900 Subject: [PATCH] Add a flag to select target control of pair transition Change-Id: Id11638781bb7d467500c99caa395724869771c19 Signed-off-by: Seungho Baek --- dali-csharp-binder/src/transition-wrap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dali-csharp-binder/src/transition-wrap.cpp b/dali-csharp-binder/src/transition-wrap.cpp index 85cb15c..544a41f 100755 --- a/dali-csharp-binder/src/transition-wrap.cpp +++ b/dali-csharp-binder/src/transition-wrap.cpp @@ -41,7 +41,7 @@ extern "C" return jresult; } - SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_Transition_New(void *nuiSource, void *nuiDestination, void *nuiTimePeriod) + SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_Transition_New(void *nuiSource, void *nuiDestination, bool useDestinationTarget, void *nuiTimePeriod) { void *jresult; Dali::Toolkit::Control *source = (Dali::Toolkit::Control *)nuiSource; @@ -53,7 +53,7 @@ extern "C" { try { - result = Dali::Toolkit::Transition::New(*source, *destination, *timePeriod); + result = Dali::Toolkit::Transition::New(*source, *destination, useDestinationTarget, *timePeriod); } CALL_CATCH_EXCEPTION(0); } -- 2.7.4