1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Canvas {
8 /// <summary>Type of a part in an Efl.Canvas.Layout object (edje object).</summary>
9 public enum LayoutPartType
11 /// <summary>None type value, indicates invalid parts.</summary>
13 /// <summary>Rectangle type value.</summary>
15 /// <summary>Text type value.</summary>
17 /// <summary>Image type value.</summary>
19 /// <summary>Swallow type value.</summary>
21 /// <summary>Text block type value.</summary>
23 /// <summary>Gradient type value.</summary>
25 /// <summary>Group type value.</summary>
27 /// <summary>Box type value.</summary>
29 /// <summary>Table type value.</summary>
31 /// <summary>External type value.</summary>
33 /// <summary>Proxy type value.</summary>
35 /// <summary>Spacer type value
36 /// (Since EFL 1.7.)</summary>
38 /// <summary>Canvas 3D type: mesh node.</summary>
40 /// <summary>Canvas 3D type: light.</summary>
42 /// <summary>Canvas 3D type: camera.</summary>
45 /// (Since EFL 1.16.)</summary>
48 /// (Since EFL 1.18.)</summary>
50 /// <summary>Last type value.</summary>
55 /// <summary>All available cursor states</summary>
58 /// <summary>Main cursor state</summary>
60 /// <summary>Selection begin cursor state</summary>
62 /// <summary>Selection end cursor state</summary>
64 /// <summary>Pre-edit start cursor state</summary>
66 /// <summary>Pre-edit end cursor state</summary>
68 /// <summary>User cursor state</summary>
70 /// <summary>User extra cursor state</summary>
74 namespace Edje { namespace Text {
75 /// <summary>All Text auto capital mode type values</summary>
76 public enum AutocapitalType
78 /// <summary>None mode value</summary>
80 /// <summary>Word mode value</summary>
82 /// <summary>Sentence mode value</summary>
84 /// <summary>All characters mode value</summary>
89 /// <summary>Input hints</summary>
90 public enum InputHints
92 /// <summary>No active hints
93 /// (Since EFL 1.12)</summary>
95 /// <summary>Suggest word auto completion
96 /// (Since EFL 1.12)</summary>
98 /// <summary>Typed text should not be stored.
99 /// (Since EFL 1.12)</summary>
103 namespace Edje { namespace InputPanel {
104 /// <summary>Input panel language</summary>
107 /// <summary>Automatic
108 /// (Since EFL 1.2)</summary>
110 /// <summary>Alphabet
111 /// (Since EFL 1.2)</summary>
115 namespace Edje { namespace InputPanel {
116 /// <summary>Input panel return key types</summary>
117 public enum ReturnKeyType
120 /// (Since EFL 1.2)</summary>
123 /// (Since EFL 1.2)</summary>
126 /// (Since EFL 1.2)</summary>
129 /// (Since EFL 1.2)</summary>
132 /// (Since EFL 1.2)</summary>
135 /// (Since EFL 1.2)</summary>
137 /// <summary>Search or magnifier icon
138 /// (Since EFL 1.2)</summary>
141 /// (Since EFL 1.2)</summary>
144 /// (Since EFL 1.8)</summary>
148 namespace Edje { namespace InputPanel {
149 /// <summary>Input panel layout</summary>
152 /// <summary>Default layout</summary>
154 /// <summary>Number layout</summary>
156 /// <summary>Email layout</summary>
158 /// <summary>URL layout</summary>
160 /// <summary>Phone Number layout</summary>
162 /// <summary>IP layout</summary>
164 /// <summary>Month layout</summary>
166 /// <summary>Number Only layout</summary>
168 /// <summary>Never use this</summary>
170 /// <summary>Hexadecimal layout
171 /// (Since EFL 1.2)</summary>
173 /// <summary>Command-line terminal layout including esc, alt, ctrl key, so on (no auto-correct, no auto-capitalization)
174 /// (Since EFL 1.2)</summary>
176 /// <summary>Like normal, but no auto-correct, no auto-capitalization etc.
177 /// (Since EFL 1.2)</summary>
179 /// <summary>Date and time layout
180 /// (Since EFL 1.8)</summary>
182 /// <summary>Emoticon layout
183 /// (Since EFL 1.10)</summary>
185 /// <summary>Voice layout, but if the IME does not support voice layout, then normal layout will be shown.
186 /// (Since EFL 1.19)</summary>
191 /// <summary>Perspective info for maps inside edje objects</summary>
192 [StructLayout(LayoutKind.Sequential)]
193 public struct Perspective
195 ///<summary>Placeholder field</summary>
197 public static implicit operator Perspective(IntPtr ptr)
199 var tmp = (Perspective.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Perspective.NativeStruct));
203 ///<summary>Internal wrapper for struct Perspective.</summary>
204 [StructLayout(LayoutKind.Sequential)]
205 public struct NativeStruct
207 internal IntPtr field;
208 ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
209 public static implicit operator Perspective.NativeStruct(Perspective _external_struct)
211 var _internal_struct = new Perspective.NativeStruct();
212 return _internal_struct;
215 ///<summary>Implicit conversion to the managed representation.</summary>
216 public static implicit operator Perspective(Perspective.NativeStruct _internal_struct)
218 var _external_struct = new Perspective();
219 return _external_struct;