2 * Copyright(c) 2023 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.Runtime.InteropServices;
22 internal static partial class Interop
24 internal static partial class WindowData
26 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_WindowData")]
27 public static extern global::System.IntPtr New();
29 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_WindowData")]
30 public static extern void DeleteWindowData(HandleRef nuiWindowData);
32 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WindowData_SetPositionSize")]
33 public static extern void SetPositionSize(HandleRef nuiWindowData, HandleRef nuiPositionSize);
35 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WindowData_GetPositionSize")]
36 public static extern global::System.IntPtr GetPositionSize(HandleRef nuiWindowData);
38 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WindowData_SetWindowType")]
39 public static extern void SetWindowType(HandleRef nuiWindowData, int nuiWindowType);
41 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WindowData_GetWindowType")]
42 public static extern int GetWindowType(HandleRef nuiWindowData);
44 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WindowData_SetTransparency")]
45 public static extern void SetTransparency(HandleRef nuiWindowData, bool nuiTransparency);
47 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WindowData_GetTransparency")]
48 [return: MarshalAs(UnmanagedType.U1)]
49 public static extern bool GetTransparency(HandleRef nuiWindowData);