Binding FeedHover 89/294689/4
authorjoogab.yun <joogab.yun@samsung.com>
Fri, 23 Jun 2023 08:09:43 +0000 (17:09 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Wed, 28 Jun 2023 06:25:58 +0000 (15:25 +0900)
Change-Id: Iaabd3ddcb935873b5d9587b9096c6a7dca1967a9

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

index 38a867f..bf152a2 100644 (file)
@@ -1751,6 +1751,26 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedWheel(void * window, void * e
   }
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedHover(void * window, void * touchPoint) {
+  Dali::Window* win = (Dali::Window*)window;
+  if (!win) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+    return ;
+  }
+
+  Dali::TouchPoint *aTouchPoint = 0 ;
+  aTouchPoint = (Dali::TouchPoint *)touchPoint;
+  if (!aTouchPoint) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TouchPoint & type is null", 0);
+    return ;
+  }
+  {
+    try {
+      Dali::DevelWindow::FeedHoverEvent(*win, *aTouchPoint);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
   try {
     Dali::Adaptor::Get().RenderOnce();