[EflSharp] Update Circle and efl cs files (#896)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_gfx_stack.eo.cs
1 #pragma warning disable CS1591
2 using System;
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Threading;
7 using System.ComponentModel;
8 namespace Efl {
9
10 namespace Gfx {
11
12 public partial class Constants
13 {
14     /// <summary>bottom-most layer number</summary>
15     public static readonly short StackLayerMin = -32768;
16 }
17 }
18
19 }
20
21 namespace Efl {
22
23 namespace Gfx {
24
25 public partial class Constants
26 {
27     /// <summary>top-most layer number</summary>
28     public static readonly short StackLayerMax = 32767;
29 }
30 }
31
32 }
33
34 namespace Efl {
35
36 namespace Gfx {
37
38 /// <summary>Efl graphics stack interface
39 /// (Since EFL 1.22)</summary>
40 [Efl.Gfx.IStackConcrete.NativeMethods]
41 public interface IStack : 
42     Efl.Eo.IWrapper, IDisposable
43 {
44     /// <summary>Retrieves the layer of its canvas that the given object is part of.
45 /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
46 /// (Since EFL 1.22)</summary>
47 /// <returns>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</returns>
48 short GetLayer();
49     /// <summary>Sets the layer of its canvas that the given object will be part of.
50 /// If you don&apos;t use this function, you&apos;ll be dealing with an unique layer of objects (the default one). Additional layers are handy when you don&apos;t want a set of objects to interfere with another set with regard to stacking. Two layers are completely disjoint in that matter.
51 /// 
52 /// This is a low-level function, which you&apos;d be using when something should be always on top, for example.
53 /// 
54 /// Warning: Don&apos;t change the layer of smart objects&apos; children. Smart objects have a layer of their own, which should contain all their child objects.
55 /// 
56 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>
57 /// (Since EFL 1.22)</summary>
58 /// <param name="l">The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</param>
59 void SetLayer(short l);
60     /// <summary>Get the Evas object stacked right below <c>obj</c>
61 /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
62 /// 
63 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
64 /// (Since EFL 1.22)</summary>
65 /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
66 Efl.Gfx.IStack GetBelow();
67     /// <summary>Get the Evas object stacked right above <c>obj</c>
68 /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
69 /// 
70 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
71 /// (Since EFL 1.22)</summary>
72 /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
73 Efl.Gfx.IStack GetAbove();
74     /// <summary>Stack <c>obj</c> immediately <c>below</c>
75 /// Objects, in a given canvas, are stacked in the order they&apos;re added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
76 /// 
77 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
78 /// 
79 /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>below</c> must also be a member of the same smart object.
80 /// 
81 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>below</c> must not be either.
82 /// 
83 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
84 /// (Since EFL 1.22)</summary>
85 /// <param name="below">The object below which to stack</param>
86 void StackBelow(Efl.Gfx.IStack below);
87     /// <summary>Raise <c>obj</c> to the top of its layer.
88 /// <c>obj</c> will, then, be the highest one in the layer it belongs to. Object on other layers won&apos;t get touched.
89 /// 
90 /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.LowerToBottom"/>
91 /// (Since EFL 1.22)</summary>
92 void RaiseToTop();
93     /// <summary>Stack <c>obj</c> immediately <c>above</c>
94 /// Objects, in a given canvas, are stacked in the order they&apos;re added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
95 /// 
96 /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
97 /// 
98 /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>above</c> must also be a member of the same smart object.
99 /// 
100 /// Similarly, if <c>obj</c> is not a member of a smart object, <c>above</c> must not be either.
101 /// 
102 /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
103 /// (Since EFL 1.22)</summary>
104 /// <param name="above">The object above which to stack</param>
105 void StackAbove(Efl.Gfx.IStack above);
106     /// <summary>Lower <c>obj</c> to the bottom of its layer.
107 /// <c>obj</c> will, then, be the lowest one in the layer it belongs to. Objects on other layers won&apos;t get touched.
108 /// 
109 /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.RaiseToTop"/>
110 /// (Since EFL 1.22)</summary>
111 void LowerToBottom();
112                                     /// <summary>Object stacking was changed.
113     /// (Since EFL 1.22)</summary>
114     event EventHandler StackingChangedEvt;
115     /// <summary>Retrieves the layer of its canvas that the given object is part of.
116     /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
117     /// (Since EFL 1.22)</summary>
118     /// <value>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</value>
119     short Layer {
120         get ;
121         set ;
122     }
123     /// <summary>Get the Evas object stacked right below <c>obj</c>
124     /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
125     /// 
126     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
127     /// (Since EFL 1.22)</summary>
128     /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
129     Efl.Gfx.IStack Below {
130         get ;
131     }
132     /// <summary>Get the Evas object stacked right above <c>obj</c>
133     /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
134     /// 
135     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
136     /// (Since EFL 1.22)</summary>
137     /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
138     Efl.Gfx.IStack Above {
139         get ;
140     }
141 }
142 /// <summary>Efl graphics stack interface
143 /// (Since EFL 1.22)</summary>
144 sealed public class IStackConcrete :
145     Efl.Eo.EoWrapper
146     , IStack
147     
148 {
149     ///<summary>Pointer to the native class description.</summary>
150     public override System.IntPtr NativeClass
151     {
152         get
153         {
154             if (((object)this).GetType() == typeof(IStackConcrete))
155             {
156                 return GetEflClassStatic();
157             }
158             else
159             {
160                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
161             }
162         }
163     }
164
165     [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr
166         efl_gfx_stack_interface_get();
167     /// <summary>Initializes a new instance of the <see cref="IStack"/> class.
168     /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
169     private IStackConcrete(System.IntPtr raw) : base(raw)
170     {
171     }
172
173     /// <summary>Object stacking was changed.
174     /// (Since EFL 1.22)</summary>
175     public event EventHandler StackingChangedEvt
176     {
177         add
178         {
179             lock (eventLock)
180             {
181                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
182                 {
183                     var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
184                     if (obj != null)
185                     {
186                         EventArgs args = EventArgs.Empty;
187                         try
188                         {
189                             value?.Invoke(obj, args);
190                         }
191                         catch (Exception e)
192                         {
193                             Eina.Log.Error(e.ToString());
194                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
195                         }
196                     }
197                 };
198
199                 string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
200                 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
201             }
202         }
203
204         remove
205         {
206             lock (eventLock)
207             {
208                 string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
209                 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
210             }
211         }
212     }
213     ///<summary>Method to raise event StackingChangedEvt.</summary>
214     public void OnStackingChangedEvt(EventArgs e)
215     {
216         var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED";
217         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
218         if (desc == IntPtr.Zero)
219         {
220             Eina.Log.Error($"Failed to get native event {key}");
221             return;
222         }
223
224         Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
225     }
226     /// <summary>Retrieves the layer of its canvas that the given object is part of.
227     /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
228     /// (Since EFL 1.22)</summary>
229     /// <returns>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</returns>
230     public short GetLayer() {
231          var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_get_ptr.Value.Delegate(this.NativeHandle);
232         Eina.Error.RaiseIfUnhandledException();
233         return _ret_var;
234  }
235     /// <summary>Sets the layer of its canvas that the given object will be part of.
236     /// If you don&apos;t use this function, you&apos;ll be dealing with an unique layer of objects (the default one). Additional layers are handy when you don&apos;t want a set of objects to interfere with another set with regard to stacking. Two layers are completely disjoint in that matter.
237     /// 
238     /// This is a low-level function, which you&apos;d be using when something should be always on top, for example.
239     /// 
240     /// Warning: Don&apos;t change the layer of smart objects&apos; children. Smart objects have a layer of their own, which should contain all their child objects.
241     /// 
242     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>
243     /// (Since EFL 1.22)</summary>
244     /// <param name="l">The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</param>
245     public void SetLayer(short l) {
246                                  Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_layer_set_ptr.Value.Delegate(this.NativeHandle,l);
247         Eina.Error.RaiseIfUnhandledException();
248                          }
249     /// <summary>Get the Evas object stacked right below <c>obj</c>
250     /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
251     /// 
252     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
253     /// (Since EFL 1.22)</summary>
254     /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
255     public Efl.Gfx.IStack GetBelow() {
256          var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_get_ptr.Value.Delegate(this.NativeHandle);
257         Eina.Error.RaiseIfUnhandledException();
258         return _ret_var;
259  }
260     /// <summary>Get the Evas object stacked right above <c>obj</c>
261     /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
262     /// 
263     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
264     /// (Since EFL 1.22)</summary>
265     /// <returns>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</returns>
266     public Efl.Gfx.IStack GetAbove() {
267          var _ret_var = Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_get_ptr.Value.Delegate(this.NativeHandle);
268         Eina.Error.RaiseIfUnhandledException();
269         return _ret_var;
270  }
271     /// <summary>Stack <c>obj</c> immediately <c>below</c>
272     /// Objects, in a given canvas, are stacked in the order they&apos;re added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
273     /// 
274     /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
275     /// 
276     /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>below</c> must also be a member of the same smart object.
277     /// 
278     /// Similarly, if <c>obj</c> is not a member of a smart object, <c>below</c> must not be either.
279     /// 
280     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
281     /// (Since EFL 1.22)</summary>
282     /// <param name="below">The object below which to stack</param>
283     public void StackBelow(Efl.Gfx.IStack below) {
284                                  Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_below_ptr.Value.Delegate(this.NativeHandle,below);
285         Eina.Error.RaiseIfUnhandledException();
286                          }
287     /// <summary>Raise <c>obj</c> to the top of its layer.
288     /// <c>obj</c> will, then, be the highest one in the layer it belongs to. Object on other layers won&apos;t get touched.
289     /// 
290     /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.LowerToBottom"/>
291     /// (Since EFL 1.22)</summary>
292     public void RaiseToTop() {
293          Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_raise_to_top_ptr.Value.Delegate(this.NativeHandle);
294         Eina.Error.RaiseIfUnhandledException();
295          }
296     /// <summary>Stack <c>obj</c> immediately <c>above</c>
297     /// Objects, in a given canvas, are stacked in the order they&apos;re added. This means that, if they overlap, the highest ones will cover the lowest ones, in that order. This function is a way to change the stacking order for the objects.
298     /// 
299     /// Its intended to be used with objects belonging to the same layer in a given canvas, otherwise it will fail (and accomplish nothing).
300     /// 
301     /// If you have smart objects on your canvas and <c>obj</c> is a member of one of them, then <c>above</c> must also be a member of the same smart object.
302     /// 
303     /// Similarly, if <c>obj</c> is not a member of a smart object, <c>above</c> must not be either.
304     /// 
305     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.StackBelow"/>
306     /// (Since EFL 1.22)</summary>
307     /// <param name="above">The object above which to stack</param>
308     public void StackAbove(Efl.Gfx.IStack above) {
309                                  Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_above_ptr.Value.Delegate(this.NativeHandle,above);
310         Eina.Error.RaiseIfUnhandledException();
311                          }
312     /// <summary>Lower <c>obj</c> to the bottom of its layer.
313     /// <c>obj</c> will, then, be the lowest one in the layer it belongs to. Objects on other layers won&apos;t get touched.
314     /// 
315     /// See also <see cref="Efl.Gfx.IStack.StackAbove"/>, <see cref="Efl.Gfx.IStack.StackBelow"/> and <see cref="Efl.Gfx.IStack.RaiseToTop"/>
316     /// (Since EFL 1.22)</summary>
317     public void LowerToBottom() {
318          Efl.Gfx.IStackConcrete.NativeMethods.efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate(this.NativeHandle);
319         Eina.Error.RaiseIfUnhandledException();
320          }
321     /// <summary>Retrieves the layer of its canvas that the given object is part of.
322     /// See also <see cref="Efl.Gfx.IStack.SetLayer"/>
323     /// (Since EFL 1.22)</summary>
324     /// <value>The number of the layer to place the object on. Must be between <see cref="Efl.Gfx.Constants.StackLayerMin"/> and <see cref="Efl.Gfx.Constants.StackLayerMax"/>.</value>
325     public short Layer {
326         get { return GetLayer(); }
327         set { SetLayer(value); }
328     }
329     /// <summary>Get the Evas object stacked right below <c>obj</c>
330     /// This function will traverse layers in its search, if there are objects on layers below the one <c>obj</c> is placed at.
331     /// 
332     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
333     /// (Since EFL 1.22)</summary>
334     /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
335     public Efl.Gfx.IStack Below {
336         get { return GetBelow(); }
337     }
338     /// <summary>Get the Evas object stacked right above <c>obj</c>
339     /// This function will traverse layers in its search, if there are objects on layers above the one <c>obj</c> is placed at.
340     /// 
341     /// See also <see cref="Efl.Gfx.IStack.GetLayer"/>, <see cref="Efl.Gfx.IStack.SetLayer"/> and <see cref="Efl.Gfx.IStack.GetBelow"/>
342     /// (Since EFL 1.22)</summary>
343     /// <value>The <see cref="Efl.Gfx.IStack"/> object directly below <c>obj</c>, if any, or <c>null</c>, if none.</value>
344     public Efl.Gfx.IStack Above {
345         get { return GetAbove(); }
346     }
347     private static IntPtr GetEflClassStatic()
348     {
349         return Efl.Gfx.IStackConcrete.efl_gfx_stack_interface_get();
350     }
351     /// <summary>Wrapper for native methods and virtual method delegates.
352     /// For internal use by generated code only.</summary>
353     public class NativeMethods  : Efl.Eo.NativeClass
354     {
355         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Efl);
356         /// <summary>Gets the list of Eo operations to override.</summary>
357         /// <returns>The list of Eo operations to be overload.</returns>
358         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
359         {
360             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
361             var methods = Efl.Eo.Globals.GetUserMethods(type);
362
363             if (efl_gfx_stack_layer_get_static_delegate == null)
364             {
365                 efl_gfx_stack_layer_get_static_delegate = new efl_gfx_stack_layer_get_delegate(layer_get);
366             }
367
368             if (methods.FirstOrDefault(m => m.Name == "GetLayer") != null)
369             {
370                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_layer_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_get_static_delegate) });
371             }
372
373             if (efl_gfx_stack_layer_set_static_delegate == null)
374             {
375                 efl_gfx_stack_layer_set_static_delegate = new efl_gfx_stack_layer_set_delegate(layer_set);
376             }
377
378             if (methods.FirstOrDefault(m => m.Name == "SetLayer") != null)
379             {
380                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_layer_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_set_static_delegate) });
381             }
382
383             if (efl_gfx_stack_below_get_static_delegate == null)
384             {
385                 efl_gfx_stack_below_get_static_delegate = new efl_gfx_stack_below_get_delegate(below_get);
386             }
387
388             if (methods.FirstOrDefault(m => m.Name == "GetBelow") != null)
389             {
390                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_below_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_get_static_delegate) });
391             }
392
393             if (efl_gfx_stack_above_get_static_delegate == null)
394             {
395                 efl_gfx_stack_above_get_static_delegate = new efl_gfx_stack_above_get_delegate(above_get);
396             }
397
398             if (methods.FirstOrDefault(m => m.Name == "GetAbove") != null)
399             {
400                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_above_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_get_static_delegate) });
401             }
402
403             if (efl_gfx_stack_below_static_delegate == null)
404             {
405                 efl_gfx_stack_below_static_delegate = new efl_gfx_stack_below_delegate(stack_below);
406             }
407
408             if (methods.FirstOrDefault(m => m.Name == "StackBelow") != null)
409             {
410                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_below"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_static_delegate) });
411             }
412
413             if (efl_gfx_stack_raise_to_top_static_delegate == null)
414             {
415                 efl_gfx_stack_raise_to_top_static_delegate = new efl_gfx_stack_raise_to_top_delegate(raise_to_top);
416             }
417
418             if (methods.FirstOrDefault(m => m.Name == "RaiseToTop") != null)
419             {
420                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_raise_to_top"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_raise_to_top_static_delegate) });
421             }
422
423             if (efl_gfx_stack_above_static_delegate == null)
424             {
425                 efl_gfx_stack_above_static_delegate = new efl_gfx_stack_above_delegate(stack_above);
426             }
427
428             if (methods.FirstOrDefault(m => m.Name == "StackAbove") != null)
429             {
430                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_above"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_static_delegate) });
431             }
432
433             if (efl_gfx_stack_lower_to_bottom_static_delegate == null)
434             {
435                 efl_gfx_stack_lower_to_bottom_static_delegate = new efl_gfx_stack_lower_to_bottom_delegate(lower_to_bottom);
436             }
437
438             if (methods.FirstOrDefault(m => m.Name == "LowerToBottom") != null)
439             {
440                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_lower_to_bottom"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_lower_to_bottom_static_delegate) });
441             }
442
443             return descs;
444         }
445         /// <summary>Returns the Eo class for the native methods of this class.</summary>
446         /// <returns>The native class pointer.</returns>
447         public override IntPtr GetEflClass()
448         {
449             return Efl.Gfx.IStackConcrete.efl_gfx_stack_interface_get();
450         }
451
452         #pragma warning disable CA1707, CS1591, SA1300, SA1600
453
454         
455         private delegate short efl_gfx_stack_layer_get_delegate(System.IntPtr obj, System.IntPtr pd);
456
457         
458         public delegate short efl_gfx_stack_layer_get_api_delegate(System.IntPtr obj);
459
460         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_get_api_delegate> efl_gfx_stack_layer_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_get_api_delegate>(Module, "efl_gfx_stack_layer_get");
461
462         private static short layer_get(System.IntPtr obj, System.IntPtr pd)
463         {
464             Eina.Log.Debug("function efl_gfx_stack_layer_get was called");
465             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
466             if (ws != null)
467             {
468             short _ret_var = default(short);
469                 try
470                 {
471                     _ret_var = ((IStack)ws.Target).GetLayer();
472                 }
473                 catch (Exception e)
474                 {
475                     Eina.Log.Warning($"Callback error: {e.ToString()}");
476                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
477                 }
478
479         return _ret_var;
480
481             }
482             else
483             {
484                 return efl_gfx_stack_layer_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
485             }
486         }
487
488         private static efl_gfx_stack_layer_get_delegate efl_gfx_stack_layer_get_static_delegate;
489
490         
491         private delegate void efl_gfx_stack_layer_set_delegate(System.IntPtr obj, System.IntPtr pd,  short l);
492
493         
494         public delegate void efl_gfx_stack_layer_set_api_delegate(System.IntPtr obj,  short l);
495
496         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_set_api_delegate> efl_gfx_stack_layer_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_layer_set_api_delegate>(Module, "efl_gfx_stack_layer_set");
497
498         private static void layer_set(System.IntPtr obj, System.IntPtr pd, short l)
499         {
500             Eina.Log.Debug("function efl_gfx_stack_layer_set was called");
501             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
502             if (ws != null)
503             {
504                                     
505                 try
506                 {
507                     ((IStack)ws.Target).SetLayer(l);
508                 }
509                 catch (Exception e)
510                 {
511                     Eina.Log.Warning($"Callback error: {e.ToString()}");
512                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
513                 }
514
515                         
516             }
517             else
518             {
519                 efl_gfx_stack_layer_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), l);
520             }
521         }
522
523         private static efl_gfx_stack_layer_set_delegate efl_gfx_stack_layer_set_static_delegate;
524
525         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
526         private delegate Efl.Gfx.IStack efl_gfx_stack_below_get_delegate(System.IntPtr obj, System.IntPtr pd);
527
528         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
529         public delegate Efl.Gfx.IStack efl_gfx_stack_below_get_api_delegate(System.IntPtr obj);
530
531         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_below_get_api_delegate> efl_gfx_stack_below_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_below_get_api_delegate>(Module, "efl_gfx_stack_below_get");
532
533         private static Efl.Gfx.IStack below_get(System.IntPtr obj, System.IntPtr pd)
534         {
535             Eina.Log.Debug("function efl_gfx_stack_below_get was called");
536             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
537             if (ws != null)
538             {
539             Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack);
540                 try
541                 {
542                     _ret_var = ((IStack)ws.Target).GetBelow();
543                 }
544                 catch (Exception e)
545                 {
546                     Eina.Log.Warning($"Callback error: {e.ToString()}");
547                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
548                 }
549
550         return _ret_var;
551
552             }
553             else
554             {
555                 return efl_gfx_stack_below_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
556             }
557         }
558
559         private static efl_gfx_stack_below_get_delegate efl_gfx_stack_below_get_static_delegate;
560
561         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
562         private delegate Efl.Gfx.IStack efl_gfx_stack_above_get_delegate(System.IntPtr obj, System.IntPtr pd);
563
564         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
565         public delegate Efl.Gfx.IStack efl_gfx_stack_above_get_api_delegate(System.IntPtr obj);
566
567         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_above_get_api_delegate> efl_gfx_stack_above_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_above_get_api_delegate>(Module, "efl_gfx_stack_above_get");
568
569         private static Efl.Gfx.IStack above_get(System.IntPtr obj, System.IntPtr pd)
570         {
571             Eina.Log.Debug("function efl_gfx_stack_above_get was called");
572             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
573             if (ws != null)
574             {
575             Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack);
576                 try
577                 {
578                     _ret_var = ((IStack)ws.Target).GetAbove();
579                 }
580                 catch (Exception e)
581                 {
582                     Eina.Log.Warning($"Callback error: {e.ToString()}");
583                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
584                 }
585
586         return _ret_var;
587
588             }
589             else
590             {
591                 return efl_gfx_stack_above_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
592             }
593         }
594
595         private static efl_gfx_stack_above_get_delegate efl_gfx_stack_above_get_static_delegate;
596
597         
598         private delegate void efl_gfx_stack_below_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack below);
599
600         
601         public delegate void efl_gfx_stack_below_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack below);
602
603         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_below_api_delegate> efl_gfx_stack_below_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_below_api_delegate>(Module, "efl_gfx_stack_below");
604
605         private static void stack_below(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IStack below)
606         {
607             Eina.Log.Debug("function efl_gfx_stack_below was called");
608             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
609             if (ws != null)
610             {
611                                     
612                 try
613                 {
614                     ((IStack)ws.Target).StackBelow(below);
615                 }
616                 catch (Exception e)
617                 {
618                     Eina.Log.Warning($"Callback error: {e.ToString()}");
619                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
620                 }
621
622                         
623             }
624             else
625             {
626                 efl_gfx_stack_below_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), below);
627             }
628         }
629
630         private static efl_gfx_stack_below_delegate efl_gfx_stack_below_static_delegate;
631
632         
633         private delegate void efl_gfx_stack_raise_to_top_delegate(System.IntPtr obj, System.IntPtr pd);
634
635         
636         public delegate void efl_gfx_stack_raise_to_top_api_delegate(System.IntPtr obj);
637
638         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_raise_to_top_api_delegate> efl_gfx_stack_raise_to_top_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_raise_to_top_api_delegate>(Module, "efl_gfx_stack_raise_to_top");
639
640         private static void raise_to_top(System.IntPtr obj, System.IntPtr pd)
641         {
642             Eina.Log.Debug("function efl_gfx_stack_raise_to_top was called");
643             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
644             if (ws != null)
645             {
646             
647                 try
648                 {
649                     ((IStack)ws.Target).RaiseToTop();
650                 }
651                 catch (Exception e)
652                 {
653                     Eina.Log.Warning($"Callback error: {e.ToString()}");
654                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
655                 }
656
657         
658             }
659             else
660             {
661                 efl_gfx_stack_raise_to_top_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
662             }
663         }
664
665         private static efl_gfx_stack_raise_to_top_delegate efl_gfx_stack_raise_to_top_static_delegate;
666
667         
668         private delegate void efl_gfx_stack_above_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack above);
669
670         
671         public delegate void efl_gfx_stack_above_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IStack above);
672
673         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_above_api_delegate> efl_gfx_stack_above_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_above_api_delegate>(Module, "efl_gfx_stack_above");
674
675         private static void stack_above(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IStack above)
676         {
677             Eina.Log.Debug("function efl_gfx_stack_above was called");
678             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
679             if (ws != null)
680             {
681                                     
682                 try
683                 {
684                     ((IStack)ws.Target).StackAbove(above);
685                 }
686                 catch (Exception e)
687                 {
688                     Eina.Log.Warning($"Callback error: {e.ToString()}");
689                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
690                 }
691
692                         
693             }
694             else
695             {
696                 efl_gfx_stack_above_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), above);
697             }
698         }
699
700         private static efl_gfx_stack_above_delegate efl_gfx_stack_above_static_delegate;
701
702         
703         private delegate void efl_gfx_stack_lower_to_bottom_delegate(System.IntPtr obj, System.IntPtr pd);
704
705         
706         public delegate void efl_gfx_stack_lower_to_bottom_api_delegate(System.IntPtr obj);
707
708         public static Efl.Eo.FunctionWrapper<efl_gfx_stack_lower_to_bottom_api_delegate> efl_gfx_stack_lower_to_bottom_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_stack_lower_to_bottom_api_delegate>(Module, "efl_gfx_stack_lower_to_bottom");
709
710         private static void lower_to_bottom(System.IntPtr obj, System.IntPtr pd)
711         {
712             Eina.Log.Debug("function efl_gfx_stack_lower_to_bottom was called");
713             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
714             if (ws != null)
715             {
716             
717                 try
718                 {
719                     ((IStack)ws.Target).LowerToBottom();
720                 }
721                 catch (Exception e)
722                 {
723                     Eina.Log.Warning($"Callback error: {e.ToString()}");
724                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
725                 }
726
727         
728             }
729             else
730             {
731                 efl_gfx_stack_lower_to_bottom_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
732             }
733         }
734
735         private static efl_gfx_stack_lower_to_bottom_delegate efl_gfx_stack_lower_to_bottom_static_delegate;
736
737         #pragma warning restore CA1707, CS1591, SA1300, SA1600
738
739 }
740 }
741 }
742
743 }
744