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>A drop-shadow or glow effect around any widget.
13 /// A simple drop-shadow effect can be applied to any widget by setting the color and blur radius on this part.
15 /// For instance, a blue glow can be achieved with: obj.shadow().color_set(0, 128, 255, 255); obj.shadow().grow_set(2); obj.shadow().radius_set(3, 3);
17 /// As another example, here's a black drop-shadow: obj.shadow().color_set(0, 0, 0, 255); obj.shadow().grow_set(1); obj.shadow().radius_set(5, 5); obj.shadow().offset_set(5, 5);
19 /// It is also possible to manually specify which <see cref="Efl.Gfx.IFilter"/> program to use.</summary>
20 [Efl.Ui.WidgetPartShadow.NativeMethods]
21 public class WidgetPartShadow : Efl.Ui.WidgetPart, Efl.Eo.IWrapper,Efl.Gfx.IBlur,Efl.Gfx.IColor,Efl.Gfx.IFilter
23 ///<summary>Pointer to the native class description.</summary>
24 public override System.IntPtr NativeClass
28 if (((object)this).GetType() == typeof(WidgetPartShadow))
30 return GetEflClassStatic();
34 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
39 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
40 efl_ui_widget_part_shadow_class_get();
41 /// <summary>Initializes a new instance of the <see cref="WidgetPartShadow"/> class.</summary>
42 /// <param name="parent">Parent instance.</param>
43 public WidgetPartShadow(Efl.Object parent= null
44 ) : base(efl_ui_widget_part_shadow_class_get(), typeof(WidgetPartShadow), parent)
46 FinishInstantiation();
49 /// <summary>Initializes a new instance of the <see cref="WidgetPartShadow"/> class.
50 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
51 /// <param name="raw">The native pointer to be wrapped.</param>
52 protected WidgetPartShadow(System.IntPtr raw) : base(raw)
56 /// <summary>Initializes a new instance of the <see cref="WidgetPartShadow"/> class.
57 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
58 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
59 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
60 /// <param name="parent">The Efl.Object parent of this instance.</param>
61 protected WidgetPartShadow(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
65 /// <summary>Verifies if the given object is equal to this one.</summary>
66 /// <param name="instance">The object to compare to.</param>
67 /// <returns>True if both objects point to the same native object.</returns>
68 public override bool Equals(object instance)
70 var other = instance as Efl.Object;
75 return this.NativeHandle == other.NativeHandle;
78 /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
79 /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
80 public override int GetHashCode()
82 return this.NativeHandle.ToInt32();
85 /// <summary>Turns the native pointer into a string representation.</summary>
86 /// <returns>A string with the type and the native pointer for this object.</returns>
87 public override String ToString()
89 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
92 /// <summary>The blur radius in pixels.</summary>
93 /// <param name="rx">The horizontal blur radius.</param>
94 /// <param name="ry">The vertical blur radius.</param>
95 virtual public void GetRadius(out double rx, out double ry) {
96 Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_radius_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out rx, out ry);
97 Eina.Error.RaiseIfUnhandledException();
99 /// <summary>The blur radius in pixels.</summary>
100 /// <param name="rx">The horizontal blur radius.</param>
101 /// <param name="ry">The vertical blur radius.</param>
102 virtual public void SetRadius(double rx, double ry) {
103 Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_radius_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rx, ry);
104 Eina.Error.RaiseIfUnhandledException();
106 /// <summary>An offset relative to the original pixels.
107 /// This property allows for drop shadow effects.</summary>
108 /// <param name="ox">Horizontal offset in pixels.</param>
109 /// <param name="oy">Vertical offset in pixels.</param>
110 virtual public void GetOffset(out double ox, out double oy) {
111 Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_offset_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out ox, out oy);
112 Eina.Error.RaiseIfUnhandledException();
114 /// <summary>An offset relative to the original pixels.
115 /// This property allows for drop shadow effects.</summary>
116 /// <param name="ox">Horizontal offset in pixels.</param>
117 /// <param name="oy">Vertical offset in pixels.</param>
118 virtual public void SetOffset(double ox, double oy) {
119 Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_offset_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ox, oy);
120 Eina.Error.RaiseIfUnhandledException();
122 /// <summary>How much the original image should be "grown" before blurring.
123 /// Growing is a combination of blur & color levels adjustment. If the value of grow is positive, the pixels will appear more "fat" or "bold" than the original. If the value is negative, a shrink effect happens instead.
125 /// This is can be used efficiently to create glow effects.</summary>
126 /// <returns>How much to grow the original pixel data.</returns>
127 virtual public double GetGrow() {
128 var _ret_var = Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_grow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
129 Eina.Error.RaiseIfUnhandledException();
132 /// <summary>How much the original image should be "grown" before blurring.
133 /// Growing is a combination of blur & color levels adjustment. If the value of grow is positive, the pixels will appear more "fat" or "bold" than the original. If the value is negative, a shrink effect happens instead.
135 /// This is can be used efficiently to create glow effects.</summary>
136 /// <param name="radius">How much to grow the original pixel data.</param>
137 virtual public void SetGrow(double radius) {
138 Efl.Gfx.IBlurConcrete.NativeMethods.efl_gfx_blur_grow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radius);
139 Eina.Error.RaiseIfUnhandledException();
141 /// <summary>Retrieves the general/main color of the given Evas object.
142 /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
144 /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
146 /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
148 /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
149 /// (Since EFL 1.22)</summary>
150 virtual public void GetColor(out int r, out int g, out int b, out int a) {
151 Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
152 Eina.Error.RaiseIfUnhandledException();
154 /// <summary>Sets the general/main color of the given Evas object to the given one.
155 /// See also <see cref="Efl.Gfx.IColor.GetColor"/> (for an example)
157 /// These color values are expected to be premultiplied by alpha.
158 /// (Since EFL 1.22)</summary>
159 virtual public void SetColor(int r, int g, int b, int a) {
160 Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
161 Eina.Error.RaiseIfUnhandledException();
163 /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
164 /// (Since EFL 1.22)</summary>
165 /// <returns>the hex color code.</returns>
166 virtual public System.String GetColorCode() {
167 var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
168 Eina.Error.RaiseIfUnhandledException();
171 /// <summary>Set the color of given Evas object to the given hex color code(#RRGGBBAA). e.g. efl_gfx_color_code_set(obj, "#FFCCAACC");
172 /// (Since EFL 1.22)</summary>
173 /// <param name="colorcode">the hex color code.</param>
174 virtual public void SetColorCode(System.String colorcode) {
175 Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),colorcode);
176 Eina.Error.RaiseIfUnhandledException();
178 /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
179 /// <param name="code">The Lua program source code.</param>
180 /// <param name="name">An optional name for this filter.</param>
181 virtual public void GetFilterProgram(out System.String code, out System.String name) {
182 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out code, out name);
183 Eina.Error.RaiseIfUnhandledException();
185 /// <summary>Set a graphical filter program on this object.
186 /// Valid for Text and Image objects at the moment.
188 /// The argument passed to this function is a string containing a valid Lua program based on the filters API as described in the "EFL Graphics Filters" reference page.
190 /// Set to <c>null</c> to disable filtering.</summary>
191 /// <param name="code">The Lua program source code.</param>
192 /// <param name="name">An optional name for this filter.</param>
193 virtual public void SetFilterProgram(System.String code, System.String name) {
194 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code, name);
195 Eina.Error.RaiseIfUnhandledException();
197 /// <summary>Set the current state of the filter.
198 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
200 /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
201 /// <param name="cur_state">Current state of the filter</param>
202 /// <param name="cur_val">Current value</param>
203 /// <param name="next_state">Next filter state, optional</param>
204 /// <param name="next_val">Next value, optional</param>
205 /// <param name="pos">Position, optional</param>
206 virtual public void GetFilterState(out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos) {
207 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cur_state, out cur_val, out next_state, out next_val, out pos);
208 Eina.Error.RaiseIfUnhandledException();
210 /// <summary>Set the current state of the filter.
211 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
213 /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
214 /// <param name="cur_state">Current state of the filter</param>
215 /// <param name="cur_val">Current value</param>
216 /// <param name="next_state">Next filter state, optional</param>
217 /// <param name="next_val">Next value, optional</param>
218 /// <param name="pos">Position, optional</param>
219 virtual public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
220 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur_state, cur_val, next_state, next_val, pos);
221 Eina.Error.RaiseIfUnhandledException();
223 /// <summary>Gets the padding required to apply this filter.</summary>
224 /// <param name="l">Padding on the left</param>
225 /// <param name="r">Padding on the right</param>
226 /// <param name="t">Padding on the top</param>
227 /// <param name="b">Padding on the bottom</param>
228 virtual public void GetFilterPadding(out int l, out int r, out int t, out int b) {
229 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
230 Eina.Error.RaiseIfUnhandledException();
232 /// <summary>Bind an object to use as a mask or texture in a filter program.
233 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
234 /// <param name="name">Buffer name as used in the program.</param>
235 /// <returns>Object to use as a source of pixels.</returns>
236 virtual public Efl.Gfx.IEntity GetFilterSource(System.String name) {
237 var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
238 Eina.Error.RaiseIfUnhandledException();
241 /// <summary>Bind an object to use as a mask or texture in a filter program.
242 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
243 /// <param name="name">Buffer name as used in the program.</param>
244 /// <param name="source">Object to use as a source of pixels.</param>
245 virtual public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
246 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, source);
247 Eina.Error.RaiseIfUnhandledException();
249 /// <summary>Extra data used by the filter program.
250 /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
252 /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line 'name = value'. This can be used to pass in tables.</summary>
253 /// <param name="name">Name of the global variable</param>
254 /// <param name="value">String value to use as data</param>
255 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
256 virtual public void GetFilterData(System.String name, out System.String value, out bool execute) {
257 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, out value, out execute);
258 Eina.Error.RaiseIfUnhandledException();
260 /// <summary>Extra data used by the filter program.
261 /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
263 /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line 'name = value'. This can be used to pass in tables.</summary>
264 /// <param name="name">Name of the global variable</param>
265 /// <param name="value">String value to use as data</param>
266 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
267 virtual public void SetFilterData(System.String name, System.String value, bool execute) {
268 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value, execute);
269 Eina.Error.RaiseIfUnhandledException();
271 /// <summary>How much the original image should be "grown" before blurring.
272 /// Growing is a combination of blur & color levels adjustment. If the value of grow is positive, the pixels will appear more "fat" or "bold" than the original. If the value is negative, a shrink effect happens instead.
274 /// This is can be used efficiently to create glow effects.</summary>
275 /// <value>How much to grow the original pixel data.</value>
277 get { return GetGrow(); }
278 set { SetGrow(value); }
280 /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
281 /// (Since EFL 1.22)</summary>
282 /// <value>the hex color code.</value>
283 public System.String ColorCode {
284 get { return GetColorCode(); }
285 set { SetColorCode(value); }
287 private static IntPtr GetEflClassStatic()
289 return Efl.Ui.WidgetPartShadow.efl_ui_widget_part_shadow_class_get();
291 /// <summary>Wrapper for native methods and virtual method delegates.
292 /// For internal use by generated code only.</summary>
293 public new class NativeMethods : Efl.Ui.WidgetPart.NativeMethods
295 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
296 /// <summary>Gets the list of Eo operations to override.</summary>
297 /// <returns>The list of Eo operations to be overload.</returns>
298 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
300 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
301 var methods = Efl.Eo.Globals.GetUserMethods(type);
303 if (efl_gfx_blur_radius_get_static_delegate == null)
305 efl_gfx_blur_radius_get_static_delegate = new efl_gfx_blur_radius_get_delegate(radius_get);
308 if (methods.FirstOrDefault(m => m.Name == "GetRadius") != null)
310 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_blur_radius_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_blur_radius_get_static_delegate) });
313 if (efl_gfx_blur_radius_set_static_delegate == null)
315 efl_gfx_blur_radius_set_static_delegate = new efl_gfx_blur_radius_set_delegate(radius_set);
318 if (methods.FirstOrDefault(m => m.Name == "SetRadius") != null)
320 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_blur_radius_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_blur_radius_set_static_delegate) });
323 if (efl_gfx_blur_offset_get_static_delegate == null)
325 efl_gfx_blur_offset_get_static_delegate = new efl_gfx_blur_offset_get_delegate(offset_get);
328 if (methods.FirstOrDefault(m => m.Name == "GetOffset") != null)
330 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_blur_offset_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_blur_offset_get_static_delegate) });
333 if (efl_gfx_blur_offset_set_static_delegate == null)
335 efl_gfx_blur_offset_set_static_delegate = new efl_gfx_blur_offset_set_delegate(offset_set);
338 if (methods.FirstOrDefault(m => m.Name == "SetOffset") != null)
340 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_blur_offset_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_blur_offset_set_static_delegate) });
343 if (efl_gfx_blur_grow_get_static_delegate == null)
345 efl_gfx_blur_grow_get_static_delegate = new efl_gfx_blur_grow_get_delegate(grow_get);
348 if (methods.FirstOrDefault(m => m.Name == "GetGrow") != null)
350 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_blur_grow_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_blur_grow_get_static_delegate) });
353 if (efl_gfx_blur_grow_set_static_delegate == null)
355 efl_gfx_blur_grow_set_static_delegate = new efl_gfx_blur_grow_set_delegate(grow_set);
358 if (methods.FirstOrDefault(m => m.Name == "SetGrow") != null)
360 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_blur_grow_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_blur_grow_set_static_delegate) });
363 if (efl_gfx_color_get_static_delegate == null)
365 efl_gfx_color_get_static_delegate = new efl_gfx_color_get_delegate(color_get);
368 if (methods.FirstOrDefault(m => m.Name == "GetColor") != null)
370 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_get_static_delegate) });
373 if (efl_gfx_color_set_static_delegate == null)
375 efl_gfx_color_set_static_delegate = new efl_gfx_color_set_delegate(color_set);
378 if (methods.FirstOrDefault(m => m.Name == "SetColor") != null)
380 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_set_static_delegate) });
383 if (efl_gfx_color_code_get_static_delegate == null)
385 efl_gfx_color_code_get_static_delegate = new efl_gfx_color_code_get_delegate(color_code_get);
388 if (methods.FirstOrDefault(m => m.Name == "GetColorCode") != null)
390 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_code_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_code_get_static_delegate) });
393 if (efl_gfx_color_code_set_static_delegate == null)
395 efl_gfx_color_code_set_static_delegate = new efl_gfx_color_code_set_delegate(color_code_set);
398 if (methods.FirstOrDefault(m => m.Name == "SetColorCode") != null)
400 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_code_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_code_set_static_delegate) });
403 if (efl_gfx_filter_program_get_static_delegate == null)
405 efl_gfx_filter_program_get_static_delegate = new efl_gfx_filter_program_get_delegate(filter_program_get);
408 if (methods.FirstOrDefault(m => m.Name == "GetFilterProgram") != null)
410 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_program_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_program_get_static_delegate) });
413 if (efl_gfx_filter_program_set_static_delegate == null)
415 efl_gfx_filter_program_set_static_delegate = new efl_gfx_filter_program_set_delegate(filter_program_set);
418 if (methods.FirstOrDefault(m => m.Name == "SetFilterProgram") != null)
420 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_program_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_program_set_static_delegate) });
423 if (efl_gfx_filter_state_get_static_delegate == null)
425 efl_gfx_filter_state_get_static_delegate = new efl_gfx_filter_state_get_delegate(filter_state_get);
428 if (methods.FirstOrDefault(m => m.Name == "GetFilterState") != null)
430 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_state_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_state_get_static_delegate) });
433 if (efl_gfx_filter_state_set_static_delegate == null)
435 efl_gfx_filter_state_set_static_delegate = new efl_gfx_filter_state_set_delegate(filter_state_set);
438 if (methods.FirstOrDefault(m => m.Name == "SetFilterState") != null)
440 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_state_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_state_set_static_delegate) });
443 if (efl_gfx_filter_padding_get_static_delegate == null)
445 efl_gfx_filter_padding_get_static_delegate = new efl_gfx_filter_padding_get_delegate(filter_padding_get);
448 if (methods.FirstOrDefault(m => m.Name == "GetFilterPadding") != null)
450 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_padding_get_static_delegate) });
453 if (efl_gfx_filter_source_get_static_delegate == null)
455 efl_gfx_filter_source_get_static_delegate = new efl_gfx_filter_source_get_delegate(filter_source_get);
458 if (methods.FirstOrDefault(m => m.Name == "GetFilterSource") != null)
460 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_source_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_source_get_static_delegate) });
463 if (efl_gfx_filter_source_set_static_delegate == null)
465 efl_gfx_filter_source_set_static_delegate = new efl_gfx_filter_source_set_delegate(filter_source_set);
468 if (methods.FirstOrDefault(m => m.Name == "SetFilterSource") != null)
470 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_source_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_source_set_static_delegate) });
473 if (efl_gfx_filter_data_get_static_delegate == null)
475 efl_gfx_filter_data_get_static_delegate = new efl_gfx_filter_data_get_delegate(filter_data_get);
478 if (methods.FirstOrDefault(m => m.Name == "GetFilterData") != null)
480 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_data_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_data_get_static_delegate) });
483 if (efl_gfx_filter_data_set_static_delegate == null)
485 efl_gfx_filter_data_set_static_delegate = new efl_gfx_filter_data_set_delegate(filter_data_set);
488 if (methods.FirstOrDefault(m => m.Name == "SetFilterData") != null)
490 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_data_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_data_set_static_delegate) });
493 descs.AddRange(base.GetEoOps(type));
496 /// <summary>Returns the Eo class for the native methods of this class.</summary>
497 /// <returns>The native class pointer.</returns>
498 public override IntPtr GetEflClass()
500 return Efl.Ui.WidgetPartShadow.efl_ui_widget_part_shadow_class_get();
503 #pragma warning disable CA1707, SA1300, SA1600
506 private delegate void efl_gfx_blur_radius_get_delegate(System.IntPtr obj, System.IntPtr pd, out double rx, out double ry);
509 public delegate void efl_gfx_blur_radius_get_api_delegate(System.IntPtr obj, out double rx, out double ry);
511 public static Efl.Eo.FunctionWrapper<efl_gfx_blur_radius_get_api_delegate> efl_gfx_blur_radius_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_blur_radius_get_api_delegate>(Module, "efl_gfx_blur_radius_get");
513 private static void radius_get(System.IntPtr obj, System.IntPtr pd, out double rx, out double ry)
515 Eina.Log.Debug("function efl_gfx_blur_radius_get was called");
516 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
519 rx = default(double); ry = default(double);
522 ((WidgetPartShadow)wrapper).GetRadius(out rx, out ry);
526 Eina.Log.Warning($"Callback error: {e.ToString()}");
527 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
534 efl_gfx_blur_radius_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out rx, out ry);
538 private static efl_gfx_blur_radius_get_delegate efl_gfx_blur_radius_get_static_delegate;
541 private delegate void efl_gfx_blur_radius_set_delegate(System.IntPtr obj, System.IntPtr pd, double rx, double ry);
544 public delegate void efl_gfx_blur_radius_set_api_delegate(System.IntPtr obj, double rx, double ry);
546 public static Efl.Eo.FunctionWrapper<efl_gfx_blur_radius_set_api_delegate> efl_gfx_blur_radius_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_blur_radius_set_api_delegate>(Module, "efl_gfx_blur_radius_set");
548 private static void radius_set(System.IntPtr obj, System.IntPtr pd, double rx, double ry)
550 Eina.Log.Debug("function efl_gfx_blur_radius_set was called");
551 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
557 ((WidgetPartShadow)wrapper).SetRadius(rx, ry);
561 Eina.Log.Warning($"Callback error: {e.ToString()}");
562 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
569 efl_gfx_blur_radius_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rx, ry);
573 private static efl_gfx_blur_radius_set_delegate efl_gfx_blur_radius_set_static_delegate;
576 private delegate void efl_gfx_blur_offset_get_delegate(System.IntPtr obj, System.IntPtr pd, out double ox, out double oy);
579 public delegate void efl_gfx_blur_offset_get_api_delegate(System.IntPtr obj, out double ox, out double oy);
581 public static Efl.Eo.FunctionWrapper<efl_gfx_blur_offset_get_api_delegate> efl_gfx_blur_offset_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_blur_offset_get_api_delegate>(Module, "efl_gfx_blur_offset_get");
583 private static void offset_get(System.IntPtr obj, System.IntPtr pd, out double ox, out double oy)
585 Eina.Log.Debug("function efl_gfx_blur_offset_get was called");
586 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
589 ox = default(double); oy = default(double);
592 ((WidgetPartShadow)wrapper).GetOffset(out ox, out oy);
596 Eina.Log.Warning($"Callback error: {e.ToString()}");
597 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
604 efl_gfx_blur_offset_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out ox, out oy);
608 private static efl_gfx_blur_offset_get_delegate efl_gfx_blur_offset_get_static_delegate;
611 private delegate void efl_gfx_blur_offset_set_delegate(System.IntPtr obj, System.IntPtr pd, double ox, double oy);
614 public delegate void efl_gfx_blur_offset_set_api_delegate(System.IntPtr obj, double ox, double oy);
616 public static Efl.Eo.FunctionWrapper<efl_gfx_blur_offset_set_api_delegate> efl_gfx_blur_offset_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_blur_offset_set_api_delegate>(Module, "efl_gfx_blur_offset_set");
618 private static void offset_set(System.IntPtr obj, System.IntPtr pd, double ox, double oy)
620 Eina.Log.Debug("function efl_gfx_blur_offset_set was called");
621 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
627 ((WidgetPartShadow)wrapper).SetOffset(ox, oy);
631 Eina.Log.Warning($"Callback error: {e.ToString()}");
632 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
639 efl_gfx_blur_offset_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ox, oy);
643 private static efl_gfx_blur_offset_set_delegate efl_gfx_blur_offset_set_static_delegate;
646 private delegate double efl_gfx_blur_grow_get_delegate(System.IntPtr obj, System.IntPtr pd);
649 public delegate double efl_gfx_blur_grow_get_api_delegate(System.IntPtr obj);
651 public static Efl.Eo.FunctionWrapper<efl_gfx_blur_grow_get_api_delegate> efl_gfx_blur_grow_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_blur_grow_get_api_delegate>(Module, "efl_gfx_blur_grow_get");
653 private static double grow_get(System.IntPtr obj, System.IntPtr pd)
655 Eina.Log.Debug("function efl_gfx_blur_grow_get was called");
656 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
659 double _ret_var = default(double);
662 _ret_var = ((WidgetPartShadow)wrapper).GetGrow();
666 Eina.Log.Warning($"Callback error: {e.ToString()}");
667 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
675 return efl_gfx_blur_grow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
679 private static efl_gfx_blur_grow_get_delegate efl_gfx_blur_grow_get_static_delegate;
682 private delegate void efl_gfx_blur_grow_set_delegate(System.IntPtr obj, System.IntPtr pd, double radius);
685 public delegate void efl_gfx_blur_grow_set_api_delegate(System.IntPtr obj, double radius);
687 public static Efl.Eo.FunctionWrapper<efl_gfx_blur_grow_set_api_delegate> efl_gfx_blur_grow_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_blur_grow_set_api_delegate>(Module, "efl_gfx_blur_grow_set");
689 private static void grow_set(System.IntPtr obj, System.IntPtr pd, double radius)
691 Eina.Log.Debug("function efl_gfx_blur_grow_set was called");
692 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
698 ((WidgetPartShadow)wrapper).SetGrow(radius);
702 Eina.Log.Warning($"Callback error: {e.ToString()}");
703 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
710 efl_gfx_blur_grow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radius);
714 private static efl_gfx_blur_grow_set_delegate efl_gfx_blur_grow_set_static_delegate;
717 private delegate void efl_gfx_color_get_delegate(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a);
720 public delegate void efl_gfx_color_get_api_delegate(System.IntPtr obj, out int r, out int g, out int b, out int a);
722 public static Efl.Eo.FunctionWrapper<efl_gfx_color_get_api_delegate> efl_gfx_color_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_get_api_delegate>(Module, "efl_gfx_color_get");
724 private static void color_get(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a)
726 Eina.Log.Debug("function efl_gfx_color_get was called");
727 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
730 r = default(int); g = default(int); b = default(int); a = default(int);
733 ((WidgetPartShadow)wrapper).GetColor(out r, out g, out b, out a);
737 Eina.Log.Warning($"Callback error: {e.ToString()}");
738 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
745 efl_gfx_color_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out r, out g, out b, out a);
749 private static efl_gfx_color_get_delegate efl_gfx_color_get_static_delegate;
752 private delegate void efl_gfx_color_set_delegate(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a);
755 public delegate void efl_gfx_color_set_api_delegate(System.IntPtr obj, int r, int g, int b, int a);
757 public static Efl.Eo.FunctionWrapper<efl_gfx_color_set_api_delegate> efl_gfx_color_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_set_api_delegate>(Module, "efl_gfx_color_set");
759 private static void color_set(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a)
761 Eina.Log.Debug("function efl_gfx_color_set was called");
762 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
768 ((WidgetPartShadow)wrapper).SetColor(r, g, b, a);
772 Eina.Log.Warning($"Callback error: {e.ToString()}");
773 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
780 efl_gfx_color_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r, g, b, a);
784 private static efl_gfx_color_set_delegate efl_gfx_color_set_static_delegate;
786 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
787 private delegate System.String efl_gfx_color_code_get_delegate(System.IntPtr obj, System.IntPtr pd);
789 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
790 public delegate System.String efl_gfx_color_code_get_api_delegate(System.IntPtr obj);
792 public static Efl.Eo.FunctionWrapper<efl_gfx_color_code_get_api_delegate> efl_gfx_color_code_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_code_get_api_delegate>(Module, "efl_gfx_color_code_get");
794 private static System.String color_code_get(System.IntPtr obj, System.IntPtr pd)
796 Eina.Log.Debug("function efl_gfx_color_code_get was called");
797 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
800 System.String _ret_var = default(System.String);
803 _ret_var = ((WidgetPartShadow)wrapper).GetColorCode();
807 Eina.Log.Warning($"Callback error: {e.ToString()}");
808 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
816 return efl_gfx_color_code_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
820 private static efl_gfx_color_code_get_delegate efl_gfx_color_code_get_static_delegate;
823 private delegate void efl_gfx_color_code_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
826 public delegate void efl_gfx_color_code_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
828 public static Efl.Eo.FunctionWrapper<efl_gfx_color_code_set_api_delegate> efl_gfx_color_code_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_code_set_api_delegate>(Module, "efl_gfx_color_code_set");
830 private static void color_code_set(System.IntPtr obj, System.IntPtr pd, System.String colorcode)
832 Eina.Log.Debug("function efl_gfx_color_code_set was called");
833 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
839 ((WidgetPartShadow)wrapper).SetColorCode(colorcode);
843 Eina.Log.Warning($"Callback error: {e.ToString()}");
844 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
851 efl_gfx_color_code_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), colorcode);
855 private static efl_gfx_color_code_set_delegate efl_gfx_color_code_set_static_delegate;
858 private delegate void efl_gfx_filter_program_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String name);
861 public delegate void efl_gfx_filter_program_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String name);
863 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_program_get_api_delegate> efl_gfx_filter_program_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_program_get_api_delegate>(Module, "efl_gfx_filter_program_get");
865 private static void filter_program_get(System.IntPtr obj, System.IntPtr pd, out System.String code, out System.String name)
867 Eina.Log.Debug("function efl_gfx_filter_program_get was called");
868 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
871 System.String _out_code = default(System.String);
872 System.String _out_name = default(System.String);
876 ((WidgetPartShadow)wrapper).GetFilterProgram(out _out_code, out _out_name);
880 Eina.Log.Warning($"Callback error: {e.ToString()}");
881 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
890 efl_gfx_filter_program_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out code, out name);
894 private static efl_gfx_filter_program_get_delegate efl_gfx_filter_program_get_static_delegate;
897 private delegate void efl_gfx_filter_program_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
900 public delegate void efl_gfx_filter_program_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
902 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_program_set_api_delegate> efl_gfx_filter_program_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_program_set_api_delegate>(Module, "efl_gfx_filter_program_set");
904 private static void filter_program_set(System.IntPtr obj, System.IntPtr pd, System.String code, System.String name)
906 Eina.Log.Debug("function efl_gfx_filter_program_set was called");
907 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
913 ((WidgetPartShadow)wrapper).SetFilterProgram(code, name);
917 Eina.Log.Warning($"Callback error: {e.ToString()}");
918 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
925 efl_gfx_filter_program_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), code, name);
929 private static efl_gfx_filter_program_set_delegate efl_gfx_filter_program_set_static_delegate;
932 private delegate void efl_gfx_filter_state_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String cur_state, out double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String next_state, out double next_val, out double pos);
935 public delegate void efl_gfx_filter_state_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String cur_state, out double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String next_state, out double next_val, out double pos);
937 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_state_get_api_delegate> efl_gfx_filter_state_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_state_get_api_delegate>(Module, "efl_gfx_filter_state_get");
939 private static void filter_state_get(System.IntPtr obj, System.IntPtr pd, out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos)
941 Eina.Log.Debug("function efl_gfx_filter_state_get was called");
942 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
945 System.String _out_cur_state = default(System.String);
946 cur_val = default(double); System.String _out_next_state = default(System.String);
947 next_val = default(double); pos = default(double);
950 ((WidgetPartShadow)wrapper).GetFilterState(out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos);
954 Eina.Log.Warning($"Callback error: {e.ToString()}");
955 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
958 cur_state = _out_cur_state;
959 next_state = _out_next_state;
964 efl_gfx_filter_state_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out cur_state, out cur_val, out next_state, out next_val, out pos);
968 private static efl_gfx_filter_state_get_delegate efl_gfx_filter_state_get_static_delegate;
971 private delegate void efl_gfx_filter_state_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String cur_state, double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String next_state, double next_val, double pos);
974 public delegate void efl_gfx_filter_state_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String cur_state, double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String next_state, double next_val, double pos);
976 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_state_set_api_delegate> efl_gfx_filter_state_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_state_set_api_delegate>(Module, "efl_gfx_filter_state_set");
978 private static void filter_state_set(System.IntPtr obj, System.IntPtr pd, System.String cur_state, double cur_val, System.String next_state, double next_val, double pos)
980 Eina.Log.Debug("function efl_gfx_filter_state_set was called");
981 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
987 ((WidgetPartShadow)wrapper).SetFilterState(cur_state, cur_val, next_state, next_val, pos);
991 Eina.Log.Warning($"Callback error: {e.ToString()}");
992 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
999 efl_gfx_filter_state_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur_state, cur_val, next_state, next_val, pos);
1003 private static efl_gfx_filter_state_set_delegate efl_gfx_filter_state_set_static_delegate;
1006 private delegate void efl_gfx_filter_padding_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
1009 public delegate void efl_gfx_filter_padding_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
1011 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_padding_get_api_delegate> efl_gfx_filter_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_padding_get_api_delegate>(Module, "efl_gfx_filter_padding_get");
1013 private static void filter_padding_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
1015 Eina.Log.Debug("function efl_gfx_filter_padding_get was called");
1016 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1017 if (wrapper != null)
1019 l = default(int); r = default(int); t = default(int); b = default(int);
1022 ((WidgetPartShadow)wrapper).GetFilterPadding(out l, out r, out t, out b);
1026 Eina.Log.Warning($"Callback error: {e.ToString()}");
1027 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1034 efl_gfx_filter_padding_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out l, out r, out t, out b);
1038 private static efl_gfx_filter_padding_get_delegate efl_gfx_filter_padding_get_static_delegate;
1040 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1041 private delegate Efl.Gfx.IEntity efl_gfx_filter_source_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
1043 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1044 public delegate Efl.Gfx.IEntity efl_gfx_filter_source_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
1046 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_source_get_api_delegate> efl_gfx_filter_source_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_source_get_api_delegate>(Module, "efl_gfx_filter_source_get");
1048 private static Efl.Gfx.IEntity filter_source_get(System.IntPtr obj, System.IntPtr pd, System.String name)
1050 Eina.Log.Debug("function efl_gfx_filter_source_get was called");
1051 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1052 if (wrapper != null)
1054 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1057 _ret_var = ((WidgetPartShadow)wrapper).GetFilterSource(name);
1061 Eina.Log.Warning($"Callback error: {e.ToString()}");
1062 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1070 return efl_gfx_filter_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
1074 private static efl_gfx_filter_source_get_delegate efl_gfx_filter_source_get_static_delegate;
1077 private delegate void efl_gfx_filter_source_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
1080 public delegate void efl_gfx_filter_source_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
1082 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_source_set_api_delegate> efl_gfx_filter_source_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_source_set_api_delegate>(Module, "efl_gfx_filter_source_set");
1084 private static void filter_source_set(System.IntPtr obj, System.IntPtr pd, System.String name, Efl.Gfx.IEntity source)
1086 Eina.Log.Debug("function efl_gfx_filter_source_set was called");
1087 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1088 if (wrapper != null)
1093 ((WidgetPartShadow)wrapper).SetFilterSource(name, source);
1097 Eina.Log.Warning($"Callback error: {e.ToString()}");
1098 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1105 efl_gfx_filter_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, source);
1109 private static efl_gfx_filter_source_set_delegate efl_gfx_filter_source_set_static_delegate;
1112 private delegate void efl_gfx_filter_data_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String value, [MarshalAs(UnmanagedType.U1)] out bool execute);
1115 public delegate void efl_gfx_filter_data_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String value, [MarshalAs(UnmanagedType.U1)] out bool execute);
1117 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_data_get_api_delegate> efl_gfx_filter_data_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_data_get_api_delegate>(Module, "efl_gfx_filter_data_get");
1119 private static void filter_data_get(System.IntPtr obj, System.IntPtr pd, System.String name, out System.String value, out bool execute)
1121 Eina.Log.Debug("function efl_gfx_filter_data_get was called");
1122 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1123 if (wrapper != null)
1125 System.String _out_value = default(System.String);
1126 execute = default(bool);
1129 ((WidgetPartShadow)wrapper).GetFilterData(name, out _out_value, out execute);
1133 Eina.Log.Warning($"Callback error: {e.ToString()}");
1134 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1142 efl_gfx_filter_data_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, out value, out execute);
1146 private static efl_gfx_filter_data_get_delegate efl_gfx_filter_data_get_static_delegate;
1149 private delegate void efl_gfx_filter_data_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value, [MarshalAs(UnmanagedType.U1)] bool execute);
1152 public delegate void efl_gfx_filter_data_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value, [MarshalAs(UnmanagedType.U1)] bool execute);
1154 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_data_set_api_delegate> efl_gfx_filter_data_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_data_set_api_delegate>(Module, "efl_gfx_filter_data_set");
1156 private static void filter_data_set(System.IntPtr obj, System.IntPtr pd, System.String name, System.String value, bool execute)
1158 Eina.Log.Debug("function efl_gfx_filter_data_set was called");
1159 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1160 if (wrapper != null)
1165 ((WidgetPartShadow)wrapper).SetFilterData(name, value, execute);
1169 Eina.Log.Warning($"Callback error: {e.ToString()}");
1170 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1177 efl_gfx_filter_data_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, value, execute);
1181 private static efl_gfx_filter_data_set_delegate efl_gfx_filter_data_set_static_delegate;
1183 #pragma warning restore CA1707, SA1300, SA1600