Binding RelativeMotionGrab and RelativeMotionUnGrab api 29/314829/4
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 22 Jul 2024 01:23:44 +0000 (10:23 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Thu, 22 Aug 2024 00:49:57 +0000 (00:49 +0000)
Change-Id: I3897c728b3a88467df1f219f63ef5d3abbb6b08b

dali-csharp-binder/dali-adaptor/window-wrap.cpp

index 1f6b0620587220c3c1c36db9e2f73fae3cb4cf93..c92cb7852e265c552fdc3915ea7cb5ca939495ba 100644 (file)
@@ -3817,6 +3817,32 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsAlwaysOnTop(void * winHandle) {
   return result;
 }
 
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_RelativeMotionGrab(void * winHandle, unsigned int boundary) {
+  Dali::Window *window = (Dali::Window *) 0 ;
+  bool result = false;
+
+  window = (Dali::Window *)winHandle;
+  {
+    try {
+      result = Dali::DevelWindow::RelativeMotionGrab(*window, boundary);
+    } CALL_CATCH_EXCEPTION(false);
+  }
+  return result;
+}
+
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_RelativeMotionUnGrab(void * winHandle) {
+  Dali::Window *window = (Dali::Window *) 0 ;
+  bool result = false;
+
+  window = (Dali::Window *)winHandle;
+  {
+    try {
+      result = Dali::DevelWindow::RelativeMotionUnGrab(*window);
+    } CALL_CATCH_EXCEPTION(false);
+  }
+  return result;
+}
+
 /* pointer constraints event */
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WindowPointerConstraintsEventSignal(void* winHandle)
 {