bind to support setting/getting full screen sized window. 79/300079/3
authorWonsik Jung <sidein@samsung.com>
Mon, 16 Oct 2023 11:04:09 +0000 (20:04 +0900)
committerWonsik Jung <sidein@samsung.com>
Tue, 24 Oct 2023 01:17:19 +0000 (10:17 +0900)
Change-Id: I7ed392a4de4dbb21bedc075775158b0ecbb69239

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

index 741975cff1a375ce864a366575c484121b286ec2..767ebee53ec0140362f0278e69085c8cdcd43b82 100644 (file)
@@ -4038,6 +4038,30 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_KeyboardUnGrab(void * winHandle)
   return result;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetFullScreen(void * winHandle, bool fullscreen) {
+  Dali::Window *window = (Dali::Window *) 0 ;
+
+  window = (Dali::Window *)winHandle;
+  {
+    try {
+      Dali::DevelWindow::SetFullScreen(*window, fullscreen);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_GetFullScreen(void * winHandle) {
+  Dali::Window *window = (Dali::Window *) 0 ;
+  bool result = false;
+
+  window = (Dali::Window *)winHandle;
+  {
+    try {
+      result = Dali::DevelWindow::GetFullScreen(*window);
+    } CALL_CATCH_EXCEPTION(false);
+  }
+  return result;
+}
+
 /* pointer constraints event */
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WindowPointerConstraintsEventSignal(void* winHandle)
 {