Add InputFilter to TextField, TextEditor
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / Interop / Interop.GLWindow.cs
1 /*
2  * Copyright(c) 2021 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 using System.Runtime.InteropServices;
19
20 namespace Tizen.NUI
21 {
22     internal static partial class Interop
23     {
24         internal static partial class GLWindow
25         {
26             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_New__SWIG_0")]
27             public static extern global::System.IntPtr GlWindowNew();
28
29             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_New__SWIG_1")]
30             public static extern global::System.IntPtr GlWindowNew(HandleRef jarg1, string jarg2, string jarg3, bool jarg4);
31
32             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_GlWindow__SWIG_0")]
33             public static extern global::System.IntPtr NewGlWindow();
34
35             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_GlWindow")]
36             public static extern void DeleteGlWindow(HandleRef jarg1);
37
38             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_GlWindow__SWIG_1")]
39             public static extern global::System.IntPtr NewGlWindow(HandleRef jarg1);
40
41             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Assign")]
42             public static extern global::System.IntPtr GlWindowAssign(HandleRef jarg1, HandleRef jarg2);
43
44             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetEglConfig")]
45             public static extern global::System.IntPtr GlWindowSetEglConfig(HandleRef jarg1, bool jarg2, bool jarg3, int jarg4, int jarg5);
46
47             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Raise")]
48             public static extern void GlWindowRaise(HandleRef jarg1);
49
50             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Lower")]
51             public static extern void GlWindowLower(HandleRef jarg1);
52
53             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Activate")]
54             public static extern void GlWindowActivate(HandleRef jarg1);
55
56             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Show")]
57             public static extern void GlWindowShow(HandleRef jarg1);
58
59             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Hide")]
60             public static extern void GlWindowHide(HandleRef jarg1);
61
62             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPositionSize")]
63             public static extern void GlWindowSetPositionSize(HandleRef jarg1, HandleRef jarg2);
64
65             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetPositionSize")]
66             public static extern global::System.IntPtr GlWindowGetPositionSize(HandleRef jarg1);
67
68             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHintCount")]
69             public static extern uint GlWindowGetSupportedAuxiliaryHintCount(HandleRef jarg1);
70
71             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHint")]
72             public static extern string GlWindowGetSupportedAuxiliaryHint(HandleRef jarg1, uint jarg2);
73
74             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_AddAuxiliaryHint")]
75             public static extern uint GlWindowAddAuxiliaryHint(HandleRef jarg1, string jarg2, string jarg3);
76
77             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RemoveAuxiliaryHint")]
78             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
79             public static extern bool GlWindowRemoveAuxiliaryHint(HandleRef jarg1, uint jarg2);
80
81             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetAuxiliaryHintValue")]
82             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
83             public static extern bool GlWindowSetAuxiliaryHintValue(HandleRef jarg1, uint jarg2, string jarg3);
84
85             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintValue")]
86             public static extern string GlWindowGetAuxiliaryHintValue(HandleRef jarg1, uint jarg2);
87
88             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintId")]
89             public static extern uint GlWindowGetAuxiliaryHintId(HandleRef jarg1, string jarg2);
90
91             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetInputRegion")]
92             public static extern void GlWindowSetInputRegion(HandleRef jarg1, HandleRef jarg2);
93
94             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetOpaqueState")]
95             public static extern void GlWindowSetOpaqueState(HandleRef jarg1, bool jarg2);
96
97             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_IsOpaqueState")]
98             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
99             public static extern bool GlWindowIsOpaqueState(HandleRef jarg1);
100
101             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetCurrentOrientation")]
102             public static extern int GlWindowGetCurrentOrientation(HandleRef jarg1);
103
104             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetAvailableOrientations")]
105             public static extern void GlWindowSetAvailableOrientations(HandleRef jarg1, HandleRef jarg2, int jarg3);
106
107             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPreferredOrientation")]
108             public static extern void GlWindowSetPreferredOrientation(HandleRef jarg1, int jarg2);
109
110             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RegisterGlCallback")]
111             public static extern void GlWindowRegisterGlCallback(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
112
113             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RenderOnce")]
114             public static extern void GlWindowRenderOnce(HandleRef jarg1);
115
116             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetRenderingMode")]
117             public static extern int GlWindowGetRenderingMode(HandleRef jarg1);
118
119             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetRenderingMode")]
120             public static extern void GlWindowSetRenderingMode(HandleRef jarg1, int jarg2);
121
122             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SWIGUpcast")]
123             public static extern global::System.IntPtr GlWindowUpcast(global::System.IntPtr jarg1);
124
125             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_TouchSignal")]
126             public static extern global::System.IntPtr GlWindowTouchSignal(HandleRef jarg1);
127
128             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_FocusChangedSignal")]
129             public static extern global::System.IntPtr GlWindowFocusChangedSignal(HandleRef jarg1);
130
131             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_KeyEventSignal")]
132             public static extern global::System.IntPtr GlWindowKeyEventSignal(HandleRef jarg1);
133
134             // For windows resized signal
135             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_ResizedSignal")]
136             public static extern global::System.IntPtr GlWindowResizedSignal(HandleRef jarg1);
137
138         }
139     }
140 }