From: Wonsik Jung Date: Tue, 18 Jan 2022 06:07:43 +0000 (+0900) Subject: [Tizen] Add to get the status whether window is rotating or not X-Git-Tag: accepted/tizen/unified/20220429.003448~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b83b27ae61db7b47ed1c959123bf5452f028bc0f;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git [Tizen] Add to get the status whether window is rotating or not Add to getter api of winow rotation stauts. When window is rotating, the getter api will return true. Otherwise false. Change-Id: I56cdcf59dcb84fd21cba4ceb4d1272c2126b9f21 --- diff --git a/dali-csharp-binder/src/window-wrap.cpp b/dali-csharp-binder/src/window-wrap.cpp index 665edb8..ae91ba0 100644 --- a/dali-csharp-binder/src/window-wrap.cpp +++ b/dali-csharp-binder/src/window-wrap.cpp @@ -2546,6 +2546,23 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal_de return; } +SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsWindowRotating(void* winHandle) +{ + Dali::Window* window = (Dali::Window*)winHandle; + bool result = false; + if (!window) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0); + return result; + } + { + try { + result = Dali::DevelWindow::IsWindowRotating(*window); + } CALL_CATCH_EXCEPTION(false); + } + + return result; +} + #ifdef __cplusplus } #endif