[NUI] Add WindowSystem's quickpanel APIs (#1715)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.WindowSystem / src / internal / Interop / Interop.TizenRegion.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4
5 namespace Tizen.NUI
6 {
7     internal static partial class Interop
8     {
9         internal static partial class TizenRegion
10         {
11             const string lib = "libtzsh_common.so.0";
12
13             [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_region_create")]
14             internal static extern IntPtr Create(IntPtr tzsh);
15
16             [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_region_destroy")]
17             internal static extern int Destroy(IntPtr region);
18
19             [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_region_add")]
20             internal static extern int Add(IntPtr region, int x, int y, int w, int h);
21
22             [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_region_subtract")]
23             internal static extern int Subtract(IntPtr region, int x, int y, int w, int h);
24         }
25     }
26 }