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.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>The blur radius in pixels.</summary>
66 /// <param name="rx">The horizontal blur radius.</param>
67 /// <param name="ry">The vertical blur radius.</param>
68 virtual public void GetRadius(out double rx, out double ry) {
69 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);
70 Eina.Error.RaiseIfUnhandledException();
72 /// <summary>The blur radius in pixels.</summary>
73 /// <param name="rx">The horizontal blur radius.</param>
74 /// <param name="ry">The vertical blur radius.</param>
75 virtual public void SetRadius(double rx, double ry) {
76 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);
77 Eina.Error.RaiseIfUnhandledException();
79 /// <summary>An offset relative to the original pixels.
80 /// This property allows for drop shadow effects.</summary>
81 /// <param name="ox">Horizontal offset in pixels.</param>
82 /// <param name="oy">Vertical offset in pixels.</param>
83 virtual public void GetOffset(out double ox, out double oy) {
84 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);
85 Eina.Error.RaiseIfUnhandledException();
87 /// <summary>An offset relative to the original pixels.
88 /// This property allows for drop shadow effects.</summary>
89 /// <param name="ox">Horizontal offset in pixels.</param>
90 /// <param name="oy">Vertical offset in pixels.</param>
91 virtual public void SetOffset(double ox, double oy) {
92 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);
93 Eina.Error.RaiseIfUnhandledException();
95 /// <summary>How much the original image should be "grown" before blurring.
96 /// 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.
98 /// This is can be used efficiently to create glow effects.</summary>
99 /// <returns>How much to grow the original pixel data.</returns>
100 virtual public double GetGrow() {
101 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));
102 Eina.Error.RaiseIfUnhandledException();
105 /// <summary>How much the original image should be "grown" before blurring.
106 /// 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.
108 /// This is can be used efficiently to create glow effects.</summary>
109 /// <param name="radius">How much to grow the original pixel data.</param>
110 virtual public void SetGrow(double radius) {
111 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);
112 Eina.Error.RaiseIfUnhandledException();
114 /// <summary>Retrieves the general/main color of the given Evas object.
115 /// 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.
117 /// 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.
119 /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
121 /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
122 /// (Since EFL 1.22)</summary>
123 virtual public void GetColor(out int r, out int g, out int b, out int a) {
124 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);
125 Eina.Error.RaiseIfUnhandledException();
127 /// <summary>Sets the general/main color of the given Evas object to the given one.
128 /// See also <see cref="Efl.Gfx.IColor.GetColor"/> (for an example)
130 /// These color values are expected to be premultiplied by alpha.
131 /// (Since EFL 1.22)</summary>
132 virtual public void SetColor(int r, int g, int b, int a) {
133 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);
134 Eina.Error.RaiseIfUnhandledException();
136 /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
137 /// (Since EFL 1.22)</summary>
138 /// <returns>the hex color code.</returns>
139 virtual public System.String GetColorCode() {
140 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));
141 Eina.Error.RaiseIfUnhandledException();
144 /// <summary>Set the color of given Evas object to the given hex color code(#RRGGBBAA). e.g. efl_gfx_color_code_set(obj, "#FFCCAACC");
145 /// (Since EFL 1.22)</summary>
146 /// <param name="colorcode">the hex color code.</param>
147 virtual public void SetColorCode(System.String colorcode) {
148 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);
149 Eina.Error.RaiseIfUnhandledException();
151 /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
152 /// <param name="code">The Lua program source code.</param>
153 /// <param name="name">An optional name for this filter.</param>
154 virtual public void GetFilterProgram(out System.String code, out System.String name) {
155 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);
156 Eina.Error.RaiseIfUnhandledException();
158 /// <summary>Set a graphical filter program on this object.
159 /// Valid for Text and Image objects at the moment.
161 /// 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.
163 /// Set to <c>null</c> to disable filtering.</summary>
164 /// <param name="code">The Lua program source code.</param>
165 /// <param name="name">An optional name for this filter.</param>
166 virtual public void SetFilterProgram(System.String code, System.String name) {
167 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);
168 Eina.Error.RaiseIfUnhandledException();
170 /// <summary>Set the current state of the filter.
171 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
173 /// 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>
174 /// <param name="cur_state">Current state of the filter</param>
175 /// <param name="cur_val">Current value</param>
176 /// <param name="next_state">Next filter state, optional</param>
177 /// <param name="next_val">Next value, optional</param>
178 /// <param name="pos">Position, optional</param>
179 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) {
180 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);
181 Eina.Error.RaiseIfUnhandledException();
183 /// <summary>Set the current state of the filter.
184 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
186 /// 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>
187 /// <param name="cur_state">Current state of the filter</param>
188 /// <param name="cur_val">Current value</param>
189 /// <param name="next_state">Next filter state, optional</param>
190 /// <param name="next_val">Next value, optional</param>
191 /// <param name="pos">Position, optional</param>
192 virtual public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
193 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);
194 Eina.Error.RaiseIfUnhandledException();
196 /// <summary>Gets the padding required to apply this filter.</summary>
197 /// <param name="l">Padding on the left</param>
198 /// <param name="r">Padding on the right</param>
199 /// <param name="t">Padding on the top</param>
200 /// <param name="b">Padding on the bottom</param>
201 virtual public void GetFilterPadding(out int l, out int r, out int t, out int b) {
202 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);
203 Eina.Error.RaiseIfUnhandledException();
205 /// <summary>Bind an object to use as a mask or texture in a filter program.
206 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
207 /// <param name="name">Buffer name as used in the program.</param>
208 /// <returns>Object to use as a source of pixels.</returns>
209 virtual public Efl.Gfx.IEntity GetFilterSource(System.String name) {
210 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);
211 Eina.Error.RaiseIfUnhandledException();
214 /// <summary>Bind an object to use as a mask or texture in a filter program.
215 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
216 /// <param name="name">Buffer name as used in the program.</param>
217 /// <param name="source">Object to use as a source of pixels.</param>
218 virtual public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
219 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);
220 Eina.Error.RaiseIfUnhandledException();
222 /// <summary>Extra data used by the filter program.
223 /// 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...
225 /// 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>
226 /// <param name="name">Name of the global variable</param>
227 /// <param name="value">String value to use as data</param>
228 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
229 virtual public void GetFilterData(System.String name, out System.String value, out bool execute) {
230 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);
231 Eina.Error.RaiseIfUnhandledException();
233 /// <summary>Extra data used by the filter program.
234 /// 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...
236 /// 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>
237 /// <param name="name">Name of the global variable</param>
238 /// <param name="value">String value to use as data</param>
239 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
240 virtual public void SetFilterData(System.String name, System.String value, bool execute) {
241 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);
242 Eina.Error.RaiseIfUnhandledException();
244 /// <summary>How much the original image should be "grown" before blurring.
245 /// 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.
247 /// This is can be used efficiently to create glow effects.</summary>
248 /// <value>How much to grow the original pixel data.</value>
250 get { return GetGrow(); }
251 set { SetGrow(value); }
253 /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
254 /// (Since EFL 1.22)</summary>
255 /// <value>the hex color code.</value>
256 public System.String ColorCode {
257 get { return GetColorCode(); }
258 set { SetColorCode(value); }
260 private static IntPtr GetEflClassStatic()
262 return Efl.Ui.WidgetPartShadow.efl_ui_widget_part_shadow_class_get();
264 /// <summary>Wrapper for native methods and virtual method delegates.
265 /// For internal use by generated code only.</summary>
266 public new class NativeMethods : Efl.Ui.WidgetPart.NativeMethods
268 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
269 /// <summary>Gets the list of Eo operations to override.</summary>
270 /// <returns>The list of Eo operations to be overload.</returns>
271 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
273 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
274 var methods = Efl.Eo.Globals.GetUserMethods(type);
276 if (efl_gfx_blur_radius_get_static_delegate == null)
278 efl_gfx_blur_radius_get_static_delegate = new efl_gfx_blur_radius_get_delegate(radius_get);
281 if (methods.FirstOrDefault(m => m.Name == "GetRadius") != null)
283 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) });
286 if (efl_gfx_blur_radius_set_static_delegate == null)
288 efl_gfx_blur_radius_set_static_delegate = new efl_gfx_blur_radius_set_delegate(radius_set);
291 if (methods.FirstOrDefault(m => m.Name == "SetRadius") != null)
293 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) });
296 if (efl_gfx_blur_offset_get_static_delegate == null)
298 efl_gfx_blur_offset_get_static_delegate = new efl_gfx_blur_offset_get_delegate(offset_get);
301 if (methods.FirstOrDefault(m => m.Name == "GetOffset") != null)
303 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) });
306 if (efl_gfx_blur_offset_set_static_delegate == null)
308 efl_gfx_blur_offset_set_static_delegate = new efl_gfx_blur_offset_set_delegate(offset_set);
311 if (methods.FirstOrDefault(m => m.Name == "SetOffset") != null)
313 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) });
316 if (efl_gfx_blur_grow_get_static_delegate == null)
318 efl_gfx_blur_grow_get_static_delegate = new efl_gfx_blur_grow_get_delegate(grow_get);
321 if (methods.FirstOrDefault(m => m.Name == "GetGrow") != null)
323 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) });
326 if (efl_gfx_blur_grow_set_static_delegate == null)
328 efl_gfx_blur_grow_set_static_delegate = new efl_gfx_blur_grow_set_delegate(grow_set);
331 if (methods.FirstOrDefault(m => m.Name == "SetGrow") != null)
333 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) });
336 if (efl_gfx_color_get_static_delegate == null)
338 efl_gfx_color_get_static_delegate = new efl_gfx_color_get_delegate(color_get);
341 if (methods.FirstOrDefault(m => m.Name == "GetColor") != null)
343 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) });
346 if (efl_gfx_color_set_static_delegate == null)
348 efl_gfx_color_set_static_delegate = new efl_gfx_color_set_delegate(color_set);
351 if (methods.FirstOrDefault(m => m.Name == "SetColor") != null)
353 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) });
356 if (efl_gfx_color_code_get_static_delegate == null)
358 efl_gfx_color_code_get_static_delegate = new efl_gfx_color_code_get_delegate(color_code_get);
361 if (methods.FirstOrDefault(m => m.Name == "GetColorCode") != null)
363 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) });
366 if (efl_gfx_color_code_set_static_delegate == null)
368 efl_gfx_color_code_set_static_delegate = new efl_gfx_color_code_set_delegate(color_code_set);
371 if (methods.FirstOrDefault(m => m.Name == "SetColorCode") != null)
373 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) });
376 if (efl_gfx_filter_program_get_static_delegate == null)
378 efl_gfx_filter_program_get_static_delegate = new efl_gfx_filter_program_get_delegate(filter_program_get);
381 if (methods.FirstOrDefault(m => m.Name == "GetFilterProgram") != null)
383 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) });
386 if (efl_gfx_filter_program_set_static_delegate == null)
388 efl_gfx_filter_program_set_static_delegate = new efl_gfx_filter_program_set_delegate(filter_program_set);
391 if (methods.FirstOrDefault(m => m.Name == "SetFilterProgram") != null)
393 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) });
396 if (efl_gfx_filter_state_get_static_delegate == null)
398 efl_gfx_filter_state_get_static_delegate = new efl_gfx_filter_state_get_delegate(filter_state_get);
401 if (methods.FirstOrDefault(m => m.Name == "GetFilterState") != null)
403 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) });
406 if (efl_gfx_filter_state_set_static_delegate == null)
408 efl_gfx_filter_state_set_static_delegate = new efl_gfx_filter_state_set_delegate(filter_state_set);
411 if (methods.FirstOrDefault(m => m.Name == "SetFilterState") != null)
413 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) });
416 if (efl_gfx_filter_padding_get_static_delegate == null)
418 efl_gfx_filter_padding_get_static_delegate = new efl_gfx_filter_padding_get_delegate(filter_padding_get);
421 if (methods.FirstOrDefault(m => m.Name == "GetFilterPadding") != null)
423 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) });
426 if (efl_gfx_filter_source_get_static_delegate == null)
428 efl_gfx_filter_source_get_static_delegate = new efl_gfx_filter_source_get_delegate(filter_source_get);
431 if (methods.FirstOrDefault(m => m.Name == "GetFilterSource") != null)
433 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) });
436 if (efl_gfx_filter_source_set_static_delegate == null)
438 efl_gfx_filter_source_set_static_delegate = new efl_gfx_filter_source_set_delegate(filter_source_set);
441 if (methods.FirstOrDefault(m => m.Name == "SetFilterSource") != null)
443 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) });
446 if (efl_gfx_filter_data_get_static_delegate == null)
448 efl_gfx_filter_data_get_static_delegate = new efl_gfx_filter_data_get_delegate(filter_data_get);
451 if (methods.FirstOrDefault(m => m.Name == "GetFilterData") != null)
453 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) });
456 if (efl_gfx_filter_data_set_static_delegate == null)
458 efl_gfx_filter_data_set_static_delegate = new efl_gfx_filter_data_set_delegate(filter_data_set);
461 if (methods.FirstOrDefault(m => m.Name == "SetFilterData") != null)
463 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) });
466 descs.AddRange(base.GetEoOps(type));
469 /// <summary>Returns the Eo class for the native methods of this class.</summary>
470 /// <returns>The native class pointer.</returns>
471 public override IntPtr GetEflClass()
473 return Efl.Ui.WidgetPartShadow.efl_ui_widget_part_shadow_class_get();
476 #pragma warning disable CA1707, CS1591, SA1300, SA1600
479 private delegate void efl_gfx_blur_radius_get_delegate(System.IntPtr obj, System.IntPtr pd, out double rx, out double ry);
482 public delegate void efl_gfx_blur_radius_get_api_delegate(System.IntPtr obj, out double rx, out double ry);
484 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");
486 private static void radius_get(System.IntPtr obj, System.IntPtr pd, out double rx, out double ry)
488 Eina.Log.Debug("function efl_gfx_blur_radius_get was called");
489 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
492 rx = default(double); ry = default(double);
495 ((WidgetPartShadow)ws.Target).GetRadius(out rx, out ry);
499 Eina.Log.Warning($"Callback error: {e.ToString()}");
500 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
507 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);
511 private static efl_gfx_blur_radius_get_delegate efl_gfx_blur_radius_get_static_delegate;
514 private delegate void efl_gfx_blur_radius_set_delegate(System.IntPtr obj, System.IntPtr pd, double rx, double ry);
517 public delegate void efl_gfx_blur_radius_set_api_delegate(System.IntPtr obj, double rx, double ry);
519 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");
521 private static void radius_set(System.IntPtr obj, System.IntPtr pd, double rx, double ry)
523 Eina.Log.Debug("function efl_gfx_blur_radius_set was called");
524 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
530 ((WidgetPartShadow)ws.Target).SetRadius(rx, ry);
534 Eina.Log.Warning($"Callback error: {e.ToString()}");
535 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
542 efl_gfx_blur_radius_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rx, ry);
546 private static efl_gfx_blur_radius_set_delegate efl_gfx_blur_radius_set_static_delegate;
549 private delegate void efl_gfx_blur_offset_get_delegate(System.IntPtr obj, System.IntPtr pd, out double ox, out double oy);
552 public delegate void efl_gfx_blur_offset_get_api_delegate(System.IntPtr obj, out double ox, out double oy);
554 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");
556 private static void offset_get(System.IntPtr obj, System.IntPtr pd, out double ox, out double oy)
558 Eina.Log.Debug("function efl_gfx_blur_offset_get was called");
559 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
562 ox = default(double); oy = default(double);
565 ((WidgetPartShadow)ws.Target).GetOffset(out ox, out oy);
569 Eina.Log.Warning($"Callback error: {e.ToString()}");
570 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
577 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);
581 private static efl_gfx_blur_offset_get_delegate efl_gfx_blur_offset_get_static_delegate;
584 private delegate void efl_gfx_blur_offset_set_delegate(System.IntPtr obj, System.IntPtr pd, double ox, double oy);
587 public delegate void efl_gfx_blur_offset_set_api_delegate(System.IntPtr obj, double ox, double oy);
589 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");
591 private static void offset_set(System.IntPtr obj, System.IntPtr pd, double ox, double oy)
593 Eina.Log.Debug("function efl_gfx_blur_offset_set was called");
594 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
600 ((WidgetPartShadow)ws.Target).SetOffset(ox, oy);
604 Eina.Log.Warning($"Callback error: {e.ToString()}");
605 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
612 efl_gfx_blur_offset_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ox, oy);
616 private static efl_gfx_blur_offset_set_delegate efl_gfx_blur_offset_set_static_delegate;
619 private delegate double efl_gfx_blur_grow_get_delegate(System.IntPtr obj, System.IntPtr pd);
622 public delegate double efl_gfx_blur_grow_get_api_delegate(System.IntPtr obj);
624 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");
626 private static double grow_get(System.IntPtr obj, System.IntPtr pd)
628 Eina.Log.Debug("function efl_gfx_blur_grow_get was called");
629 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
632 double _ret_var = default(double);
635 _ret_var = ((WidgetPartShadow)ws.Target).GetGrow();
639 Eina.Log.Warning($"Callback error: {e.ToString()}");
640 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
648 return efl_gfx_blur_grow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
652 private static efl_gfx_blur_grow_get_delegate efl_gfx_blur_grow_get_static_delegate;
655 private delegate void efl_gfx_blur_grow_set_delegate(System.IntPtr obj, System.IntPtr pd, double radius);
658 public delegate void efl_gfx_blur_grow_set_api_delegate(System.IntPtr obj, double radius);
660 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");
662 private static void grow_set(System.IntPtr obj, System.IntPtr pd, double radius)
664 Eina.Log.Debug("function efl_gfx_blur_grow_set was called");
665 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
671 ((WidgetPartShadow)ws.Target).SetGrow(radius);
675 Eina.Log.Warning($"Callback error: {e.ToString()}");
676 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
683 efl_gfx_blur_grow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radius);
687 private static efl_gfx_blur_grow_set_delegate efl_gfx_blur_grow_set_static_delegate;
690 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);
693 public delegate void efl_gfx_color_get_api_delegate(System.IntPtr obj, out int r, out int g, out int b, out int a);
695 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");
697 private static void color_get(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a)
699 Eina.Log.Debug("function efl_gfx_color_get was called");
700 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
703 r = default(int); g = default(int); b = default(int); a = default(int);
706 ((WidgetPartShadow)ws.Target).GetColor(out r, out g, out b, out a);
710 Eina.Log.Warning($"Callback error: {e.ToString()}");
711 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
718 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);
722 private static efl_gfx_color_get_delegate efl_gfx_color_get_static_delegate;
725 private delegate void efl_gfx_color_set_delegate(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a);
728 public delegate void efl_gfx_color_set_api_delegate(System.IntPtr obj, int r, int g, int b, int a);
730 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");
732 private static void color_set(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a)
734 Eina.Log.Debug("function efl_gfx_color_set was called");
735 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
741 ((WidgetPartShadow)ws.Target).SetColor(r, g, b, a);
745 Eina.Log.Warning($"Callback error: {e.ToString()}");
746 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
753 efl_gfx_color_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r, g, b, a);
757 private static efl_gfx_color_set_delegate efl_gfx_color_set_static_delegate;
759 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
760 private delegate System.String efl_gfx_color_code_get_delegate(System.IntPtr obj, System.IntPtr pd);
762 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
763 public delegate System.String efl_gfx_color_code_get_api_delegate(System.IntPtr obj);
765 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");
767 private static System.String color_code_get(System.IntPtr obj, System.IntPtr pd)
769 Eina.Log.Debug("function efl_gfx_color_code_get was called");
770 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
773 System.String _ret_var = default(System.String);
776 _ret_var = ((WidgetPartShadow)ws.Target).GetColorCode();
780 Eina.Log.Warning($"Callback error: {e.ToString()}");
781 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
789 return efl_gfx_color_code_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
793 private static efl_gfx_color_code_get_delegate efl_gfx_color_code_get_static_delegate;
796 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);
799 public delegate void efl_gfx_color_code_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
801 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");
803 private static void color_code_set(System.IntPtr obj, System.IntPtr pd, System.String colorcode)
805 Eina.Log.Debug("function efl_gfx_color_code_set was called");
806 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
812 ((WidgetPartShadow)ws.Target).SetColorCode(colorcode);
816 Eina.Log.Warning($"Callback error: {e.ToString()}");
817 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
824 efl_gfx_color_code_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), colorcode);
828 private static efl_gfx_color_code_set_delegate efl_gfx_color_code_set_static_delegate;
831 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);
834 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);
836 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");
838 private static void filter_program_get(System.IntPtr obj, System.IntPtr pd, out System.String code, out System.String name)
840 Eina.Log.Debug("function efl_gfx_filter_program_get was called");
841 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
844 System.String _out_code = default(System.String);
845 System.String _out_name = default(System.String);
849 ((WidgetPartShadow)ws.Target).GetFilterProgram(out _out_code, out _out_name);
853 Eina.Log.Warning($"Callback error: {e.ToString()}");
854 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
863 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);
867 private static efl_gfx_filter_program_get_delegate efl_gfx_filter_program_get_static_delegate;
870 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);
873 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);
875 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");
877 private static void filter_program_set(System.IntPtr obj, System.IntPtr pd, System.String code, System.String name)
879 Eina.Log.Debug("function efl_gfx_filter_program_set was called");
880 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
886 ((WidgetPartShadow)ws.Target).SetFilterProgram(code, name);
890 Eina.Log.Warning($"Callback error: {e.ToString()}");
891 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
898 efl_gfx_filter_program_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), code, name);
902 private static efl_gfx_filter_program_set_delegate efl_gfx_filter_program_set_static_delegate;
905 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);
908 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);
910 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");
912 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)
914 Eina.Log.Debug("function efl_gfx_filter_state_get was called");
915 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
918 System.String _out_cur_state = default(System.String);
919 cur_val = default(double); System.String _out_next_state = default(System.String);
920 next_val = default(double); pos = default(double);
923 ((WidgetPartShadow)ws.Target).GetFilterState(out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos);
927 Eina.Log.Warning($"Callback error: {e.ToString()}");
928 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
931 cur_state = _out_cur_state;
932 next_state = _out_next_state;
937 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);
941 private static efl_gfx_filter_state_get_delegate efl_gfx_filter_state_get_static_delegate;
944 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);
947 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);
949 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");
951 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)
953 Eina.Log.Debug("function efl_gfx_filter_state_set was called");
954 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
960 ((WidgetPartShadow)ws.Target).SetFilterState(cur_state, cur_val, next_state, next_val, pos);
964 Eina.Log.Warning($"Callback error: {e.ToString()}");
965 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
972 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);
976 private static efl_gfx_filter_state_set_delegate efl_gfx_filter_state_set_static_delegate;
979 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);
982 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);
984 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");
986 private static void filter_padding_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
988 Eina.Log.Debug("function efl_gfx_filter_padding_get was called");
989 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
992 l = default(int); r = default(int); t = default(int); b = default(int);
995 ((WidgetPartShadow)ws.Target).GetFilterPadding(out l, out r, out t, out b);
999 Eina.Log.Warning($"Callback error: {e.ToString()}");
1000 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1007 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);
1011 private static efl_gfx_filter_padding_get_delegate efl_gfx_filter_padding_get_static_delegate;
1013 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1014 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);
1016 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1017 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);
1019 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");
1021 private static Efl.Gfx.IEntity filter_source_get(System.IntPtr obj, System.IntPtr pd, System.String name)
1023 Eina.Log.Debug("function efl_gfx_filter_source_get was called");
1024 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1027 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1030 _ret_var = ((WidgetPartShadow)ws.Target).GetFilterSource(name);
1034 Eina.Log.Warning($"Callback error: {e.ToString()}");
1035 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1043 return efl_gfx_filter_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
1047 private static efl_gfx_filter_source_get_delegate efl_gfx_filter_source_get_static_delegate;
1050 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);
1053 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);
1055 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");
1057 private static void filter_source_set(System.IntPtr obj, System.IntPtr pd, System.String name, Efl.Gfx.IEntity source)
1059 Eina.Log.Debug("function efl_gfx_filter_source_set was called");
1060 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1066 ((WidgetPartShadow)ws.Target).SetFilterSource(name, source);
1070 Eina.Log.Warning($"Callback error: {e.ToString()}");
1071 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1078 efl_gfx_filter_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, source);
1082 private static efl_gfx_filter_source_set_delegate efl_gfx_filter_source_set_static_delegate;
1085 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);
1088 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);
1090 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");
1092 private static void filter_data_get(System.IntPtr obj, System.IntPtr pd, System.String name, out System.String value, out bool execute)
1094 Eina.Log.Debug("function efl_gfx_filter_data_get was called");
1095 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1098 System.String _out_value = default(System.String);
1099 execute = default(bool);
1102 ((WidgetPartShadow)ws.Target).GetFilterData(name, out _out_value, out execute);
1106 Eina.Log.Warning($"Callback error: {e.ToString()}");
1107 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1115 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);
1119 private static efl_gfx_filter_data_get_delegate efl_gfx_filter_data_get_static_delegate;
1122 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);
1125 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);
1127 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");
1129 private static void filter_data_set(System.IntPtr obj, System.IntPtr pd, System.String name, System.String value, bool execute)
1131 Eina.Log.Debug("function efl_gfx_filter_data_set was called");
1132 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1138 ((WidgetPartShadow)ws.Target).SetFilterData(name, value, execute);
1142 Eina.Log.Warning($"Callback error: {e.ToString()}");
1143 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1150 efl_gfx_filter_data_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, value, execute);
1154 private static efl_gfx_filter_data_set_delegate efl_gfx_filter_data_set_static_delegate;
1156 #pragma warning restore CA1707, CS1591, SA1300, SA1600