1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>The bg (background) widget is used for setting (solid) background decorations
13 /// in a window (unless it has transparency enabled) or on any container object. It works just like an image but has some properties useful for backgrounds, such as setting it to tiled, centered, scaled or stretched.</summary>
14 [Efl.Ui.ILegacyConcrete.NativeMethods]
15 public interface ILegacy :
16 Efl.Eo.IWrapper, IDisposable
19 /// <summary>The bg (background) widget is used for setting (solid) background decorations
20 /// in a window (unless it has transparency enabled) or on any container object. It works just like an image but has some properties useful for backgrounds, such as setting it to tiled, centered, scaled or stretched.</summary>
21 sealed public class ILegacyConcrete :
26 ///<summary>Pointer to the native class description.</summary>
27 public override System.IntPtr NativeClass
31 if (((object)this).GetType() == typeof(ILegacyConcrete))
33 return GetEflClassStatic();
37 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
42 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
43 efl_ui_legacy_interface_get();
44 /// <summary>Initializes a new instance of the <see cref="ILegacy"/> class.
45 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
46 private ILegacyConcrete(System.IntPtr raw) : base(raw)
50 private static IntPtr GetEflClassStatic()
52 return Efl.Ui.ILegacyConcrete.efl_ui_legacy_interface_get();
54 /// <summary>Wrapper for native methods and virtual method delegates.
55 /// For internal use by generated code only.</summary>
56 public class NativeMethods : Efl.Eo.NativeClass
58 /// <summary>Gets the list of Eo operations to override.</summary>
59 /// <returns>The list of Eo operations to be overload.</returns>
60 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
62 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
65 /// <summary>Returns the Eo class for the native methods of this class.</summary>
66 /// <returns>The native class pointer.</returns>
67 public override IntPtr GetEflClass()
69 return Efl.Ui.ILegacyConcrete.efl_ui_legacy_interface_get();
72 #pragma warning disable CA1707, CS1591, SA1300, SA1600
74 #pragma warning restore CA1707, CS1591, SA1300, SA1600