1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Ui {
8 /// <summary>A drop-shadow or glow effect around any widget.
9 /// A simple drop-shadow effect can be applied to any widget by setting the color and blur radius on this part.
11 /// 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);
13 /// 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);
15 /// It is also possible to manually specify which <see cref="Efl.Gfx.IFilter"/> program to use.</summary>
16 [WidgetPartShadowNativeInherit]
17 public class WidgetPartShadow : Efl.Ui.WidgetPart, Efl.Eo.IWrapper,Efl.Gfx.IBlur,Efl.Gfx.IColor,Efl.Gfx.IFilter
19 ///<summary>Pointer to the native class description.</summary>
20 public override System.IntPtr NativeClass {
22 if (((object)this).GetType() == typeof (WidgetPartShadow))
23 return Efl.Ui.WidgetPartShadowNativeInherit.GetEflClassStatic();
25 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
28 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
29 efl_ui_widget_part_shadow_class_get();
30 ///<summary>Creates a new instance.</summary>
31 ///<param name="parent">Parent instance.</param>
32 public WidgetPartShadow(Efl.Object parent= null
34 base(efl_ui_widget_part_shadow_class_get(), typeof(WidgetPartShadow), parent)
36 FinishInstantiation();
38 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
39 protected WidgetPartShadow(System.IntPtr raw) : base(raw)
41 RegisterEventProxies();
43 ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
44 protected WidgetPartShadow(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
45 ///<summary>Verifies if the given object is equal to this one.</summary>
46 public override bool Equals(object obj)
48 var other = obj as Efl.Object;
51 return this.NativeHandle == other.NativeHandle;
53 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
54 public override int GetHashCode()
56 return this.NativeHandle.ToInt32();
58 ///<summary>Turns the native pointer into a string representation.</summary>
59 public override String ToString()
61 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
63 ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
64 protected override void RegisterEventProxies()
66 base.RegisterEventProxies();
68 /// <summary>The blur radius in pixels.</summary>
69 /// <param name="rx">The horizontal blur radius.</param>
70 /// <param name="ry">The vertical blur radius.</param>
71 /// <returns></returns>
72 virtual public void GetRadius( out double rx, out double ry) {
73 Efl.Gfx.IBlurNativeInherit.efl_gfx_blur_radius_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out rx, out ry);
74 Eina.Error.RaiseIfUnhandledException();
76 /// <summary>The blur radius in pixels.</summary>
77 /// <param name="rx">The horizontal blur radius.</param>
78 /// <param name="ry">The vertical blur radius.</param>
79 /// <returns></returns>
80 virtual public void SetRadius( double rx, double ry) {
81 Efl.Gfx.IBlurNativeInherit.efl_gfx_blur_radius_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), rx, ry);
82 Eina.Error.RaiseIfUnhandledException();
84 /// <summary>An offset relative to the original pixels.
85 /// This property allows for drop shadow effects.</summary>
86 /// <param name="ox">Horizontal offset in pixels.</param>
87 /// <param name="oy">Vertical offset in pixels.</param>
88 /// <returns></returns>
89 virtual public void GetOffset( out double ox, out double oy) {
90 Efl.Gfx.IBlurNativeInherit.efl_gfx_blur_offset_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out ox, out oy);
91 Eina.Error.RaiseIfUnhandledException();
93 /// <summary>An offset relative to the original pixels.
94 /// This property allows for drop shadow effects.</summary>
95 /// <param name="ox">Horizontal offset in pixels.</param>
96 /// <param name="oy">Vertical offset in pixels.</param>
97 /// <returns></returns>
98 virtual public void SetOffset( double ox, double oy) {
99 Efl.Gfx.IBlurNativeInherit.efl_gfx_blur_offset_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), ox, oy);
100 Eina.Error.RaiseIfUnhandledException();
102 /// <summary>How much the original image should be "grown" before blurring.
103 /// 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.
105 /// This is can be used efficiently to create glow effects.</summary>
106 /// <returns>How much to grow the original pixel data.</returns>
107 virtual public double GetGrow() {
108 var _ret_var = Efl.Gfx.IBlurNativeInherit.efl_gfx_blur_grow_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
109 Eina.Error.RaiseIfUnhandledException();
112 /// <summary>How much the original image should be "grown" before blurring.
113 /// 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.
115 /// This is can be used efficiently to create glow effects.</summary>
116 /// <param name="radius">How much to grow the original pixel data.</param>
117 /// <returns></returns>
118 virtual public void SetGrow( double radius) {
119 Efl.Gfx.IBlurNativeInherit.efl_gfx_blur_grow_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), radius);
120 Eina.Error.RaiseIfUnhandledException();
122 /// <summary>Retrieves the general/main color of the given Evas object.
123 /// 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.
125 /// 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.
127 /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
129 /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
130 /// (Since EFL 1.22)</summary>
131 /// <param name="r"></param>
132 /// <param name="g"></param>
133 /// <param name="b"></param>
134 /// <param name="a"></param>
135 /// <returns></returns>
136 virtual public void GetColor( out int r, out int g, out int b, out int a) {
137 Efl.Gfx.IColorNativeInherit.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);
138 Eina.Error.RaiseIfUnhandledException();
140 /// <summary>Sets the general/main color of the given Evas object to the given one.
141 /// See also <see cref="Efl.Gfx.IColor.GetColor"/> (for an example)
143 /// These color values are expected to be premultiplied by alpha.
144 /// (Since EFL 1.22)</summary>
145 /// <param name="r"></param>
146 /// <param name="g"></param>
147 /// <param name="b"></param>
148 /// <param name="a"></param>
149 /// <returns></returns>
150 virtual public void SetColor( int r, int g, int b, int a) {
151 Efl.Gfx.IColorNativeInherit.efl_gfx_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), r, g, b, a);
152 Eina.Error.RaiseIfUnhandledException();
154 /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
155 /// (Since EFL 1.22)</summary>
156 /// <returns>the hex color code.</returns>
157 virtual public System.String GetColorCode() {
158 var _ret_var = Efl.Gfx.IColorNativeInherit.efl_gfx_color_code_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
159 Eina.Error.RaiseIfUnhandledException();
162 /// <summary>Set the color of given Evas object to the given hex color code(#RRGGBBAA). e.g. efl_gfx_color_code_set(obj, "#FFCCAACC");
163 /// (Since EFL 1.22)</summary>
164 /// <param name="colorcode">the hex color code.</param>
165 /// <returns></returns>
166 virtual public void SetColorCode( System.String colorcode) {
167 Efl.Gfx.IColorNativeInherit.efl_gfx_color_code_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), colorcode);
168 Eina.Error.RaiseIfUnhandledException();
170 /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
171 /// <param name="code">The Lua program source code.</param>
172 /// <param name="name">An optional name for this filter.</param>
173 /// <returns></returns>
174 virtual public void GetFilterProgram( out System.String code, out System.String name) {
175 Efl.Gfx.IFilterNativeInherit.efl_gfx_filter_program_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out code, out name);
176 Eina.Error.RaiseIfUnhandledException();
178 /// <summary>Set a graphical filter program on this object.
179 /// Valid for Text and Image objects at the moment.
181 /// 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.
183 /// Set to <c>null</c> to disable filtering.</summary>
184 /// <param name="code">The Lua program source code.</param>
185 /// <param name="name">An optional name for this filter.</param>
186 /// <returns></returns>
187 virtual public void SetFilterProgram( System.String code, System.String name) {
188 Efl.Gfx.IFilterNativeInherit.efl_gfx_filter_program_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), code, name);
189 Eina.Error.RaiseIfUnhandledException();
191 /// <summary>Set the current state of the filter.
192 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
194 /// 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>
195 /// <param name="cur_state">Current state of the filter</param>
196 /// <param name="cur_val">Current value</param>
197 /// <param name="next_state">Next filter state, optional</param>
198 /// <param name="next_val">Next value, optional</param>
199 /// <param name="pos">Position, optional</param>
200 /// <returns></returns>
201 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) {
202 Efl.Gfx.IFilterNativeInherit.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);
203 Eina.Error.RaiseIfUnhandledException();
205 /// <summary>Set the current state of the filter.
206 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
208 /// 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>
209 /// <param name="cur_state">Current state of the filter</param>
210 /// <param name="cur_val">Current value</param>
211 /// <param name="next_state">Next filter state, optional</param>
212 /// <param name="next_val">Next value, optional</param>
213 /// <param name="pos">Position, optional</param>
214 /// <returns></returns>
215 virtual public void SetFilterState( System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
216 Efl.Gfx.IFilterNativeInherit.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);
217 Eina.Error.RaiseIfUnhandledException();
219 /// <summary>Gets the padding required to apply this filter.</summary>
220 /// <param name="l">Padding on the left</param>
221 /// <param name="r">Padding on the right</param>
222 /// <param name="t">Padding on the top</param>
223 /// <param name="b">Padding on the bottom</param>
224 /// <returns></returns>
225 virtual public void GetFilterPadding( out int l, out int r, out int t, out int b) {
226 Efl.Gfx.IFilterNativeInherit.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);
227 Eina.Error.RaiseIfUnhandledException();
229 /// <summary>Bind an object to use as a mask or texture in a filter program.
230 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
231 /// <param name="name">Buffer name as used in the program.</param>
232 /// <returns>Object to use as a source of pixels.</returns>
233 virtual public Efl.Gfx.IEntity GetFilterSource( System.String name) {
234 var _ret_var = Efl.Gfx.IFilterNativeInherit.efl_gfx_filter_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), name);
235 Eina.Error.RaiseIfUnhandledException();
238 /// <summary>Bind an object to use as a mask or texture in a filter program.
239 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
240 /// <param name="name">Buffer name as used in the program.</param>
241 /// <param name="source">Object to use as a source of pixels.</param>
242 /// <returns></returns>
243 virtual public void SetFilterSource( System.String name, Efl.Gfx.IEntity source) {
244 Efl.Gfx.IFilterNativeInherit.efl_gfx_filter_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), name, source);
245 Eina.Error.RaiseIfUnhandledException();
247 /// <summary>Extra data used by the filter program.
248 /// 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...
250 /// 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>
251 /// <param name="name">Name of the global variable</param>
252 /// <param name="value">String value to use as data</param>
253 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
254 /// <returns></returns>
255 virtual public void GetFilterData( System.String name, out System.String value, out bool execute) {
256 Efl.Gfx.IFilterNativeInherit.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);
257 Eina.Error.RaiseIfUnhandledException();
259 /// <summary>Extra data used by the filter program.
260 /// 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...
262 /// 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>
263 /// <param name="name">Name of the global variable</param>
264 /// <param name="value">String value to use as data</param>
265 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
266 /// <returns></returns>
267 virtual public void SetFilterData( System.String name, System.String value, bool execute) {
268 Efl.Gfx.IFilterNativeInherit.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();
292 public class WidgetPartShadowNativeInherit : Efl.Ui.WidgetPartNativeInherit{
293 public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
294 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
296 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
297 var methods = Efl.Eo.Globals.GetUserMethods(type);
298 if (efl_gfx_blur_radius_get_static_delegate == null)
299 efl_gfx_blur_radius_get_static_delegate = new efl_gfx_blur_radius_get_delegate(radius_get);
300 if (methods.FirstOrDefault(m => m.Name == "GetRadius") != null)
301 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)});
302 if (efl_gfx_blur_radius_set_static_delegate == null)
303 efl_gfx_blur_radius_set_static_delegate = new efl_gfx_blur_radius_set_delegate(radius_set);
304 if (methods.FirstOrDefault(m => m.Name == "SetRadius") != null)
305 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)});
306 if (efl_gfx_blur_offset_get_static_delegate == null)
307 efl_gfx_blur_offset_get_static_delegate = new efl_gfx_blur_offset_get_delegate(offset_get);
308 if (methods.FirstOrDefault(m => m.Name == "GetOffset") != null)
309 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)});
310 if (efl_gfx_blur_offset_set_static_delegate == null)
311 efl_gfx_blur_offset_set_static_delegate = new efl_gfx_blur_offset_set_delegate(offset_set);
312 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)});
314 if (efl_gfx_blur_grow_get_static_delegate == null)
315 efl_gfx_blur_grow_get_static_delegate = new efl_gfx_blur_grow_get_delegate(grow_get);
316 if (methods.FirstOrDefault(m => m.Name == "GetGrow") != null)
317 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)});
318 if (efl_gfx_blur_grow_set_static_delegate == null)
319 efl_gfx_blur_grow_set_static_delegate = new efl_gfx_blur_grow_set_delegate(grow_set);
320 if (methods.FirstOrDefault(m => m.Name == "SetGrow") != null)
321 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)});
322 if (efl_gfx_color_get_static_delegate == null)
323 efl_gfx_color_get_static_delegate = new efl_gfx_color_get_delegate(color_get);
324 if (methods.FirstOrDefault(m => m.Name == "GetColor") != null)
325 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)});
326 if (efl_gfx_color_set_static_delegate == null)
327 efl_gfx_color_set_static_delegate = new efl_gfx_color_set_delegate(color_set);
328 if (methods.FirstOrDefault(m => m.Name == "SetColor") != null)
329 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)});
330 if (efl_gfx_color_code_get_static_delegate == null)
331 efl_gfx_color_code_get_static_delegate = new efl_gfx_color_code_get_delegate(color_code_get);
332 if (methods.FirstOrDefault(m => m.Name == "GetColorCode") != null)
333 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)});
334 if (efl_gfx_color_code_set_static_delegate == null)
335 efl_gfx_color_code_set_static_delegate = new efl_gfx_color_code_set_delegate(color_code_set);
336 if (methods.FirstOrDefault(m => m.Name == "SetColorCode") != null)
337 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)});
338 if (efl_gfx_filter_program_get_static_delegate == null)
339 efl_gfx_filter_program_get_static_delegate = new efl_gfx_filter_program_get_delegate(filter_program_get);
340 if (methods.FirstOrDefault(m => m.Name == "GetFilterProgram") != null)
341 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)});
342 if (efl_gfx_filter_program_set_static_delegate == null)
343 efl_gfx_filter_program_set_static_delegate = new efl_gfx_filter_program_set_delegate(filter_program_set);
344 if (methods.FirstOrDefault(m => m.Name == "SetFilterProgram") != null)
345 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)});
346 if (efl_gfx_filter_state_get_static_delegate == null)
347 efl_gfx_filter_state_get_static_delegate = new efl_gfx_filter_state_get_delegate(filter_state_get);
348 if (methods.FirstOrDefault(m => m.Name == "GetFilterState") != null)
349 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)});
350 if (efl_gfx_filter_state_set_static_delegate == null)
351 efl_gfx_filter_state_set_static_delegate = new efl_gfx_filter_state_set_delegate(filter_state_set);
352 if (methods.FirstOrDefault(m => m.Name == "SetFilterState") != null)
353 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)});
354 if (efl_gfx_filter_padding_get_static_delegate == null)
355 efl_gfx_filter_padding_get_static_delegate = new efl_gfx_filter_padding_get_delegate(filter_padding_get);
356 if (methods.FirstOrDefault(m => m.Name == "GetFilterPadding") != null)
357 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)});
358 if (efl_gfx_filter_source_get_static_delegate == null)
359 efl_gfx_filter_source_get_static_delegate = new efl_gfx_filter_source_get_delegate(filter_source_get);
360 if (methods.FirstOrDefault(m => m.Name == "GetFilterSource") != null)
361 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)});
362 if (efl_gfx_filter_source_set_static_delegate == null)
363 efl_gfx_filter_source_set_static_delegate = new efl_gfx_filter_source_set_delegate(filter_source_set);
364 if (methods.FirstOrDefault(m => m.Name == "SetFilterSource") != null)
365 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)});
366 if (efl_gfx_filter_data_get_static_delegate == null)
367 efl_gfx_filter_data_get_static_delegate = new efl_gfx_filter_data_get_delegate(filter_data_get);
368 if (methods.FirstOrDefault(m => m.Name == "GetFilterData") != null)
369 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)});
370 if (efl_gfx_filter_data_set_static_delegate == null)
371 efl_gfx_filter_data_set_static_delegate = new efl_gfx_filter_data_set_delegate(filter_data_set);
372 if (methods.FirstOrDefault(m => m.Name == "SetFilterData") != null)
373 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)});
374 descs.AddRange(base.GetEoOps(type));
377 public override IntPtr GetEflClass()
379 return Efl.Ui.WidgetPartShadow.efl_ui_widget_part_shadow_class_get();
381 public static new IntPtr GetEflClassStatic()
383 return Efl.Ui.WidgetPartShadow.efl_ui_widget_part_shadow_class_get();
387 private delegate void efl_gfx_blur_radius_get_delegate(System.IntPtr obj, System.IntPtr pd, out double rx, out double ry);
390 public delegate void efl_gfx_blur_radius_get_api_delegate(System.IntPtr obj, out double rx, out double ry);
391 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");
392 private static void radius_get(System.IntPtr obj, System.IntPtr pd, out double rx, out double ry)
394 Eina.Log.Debug("function efl_gfx_blur_radius_get was called");
395 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
396 if(wrapper != null) {
397 rx = default(double); ry = default(double);
399 ((WidgetPartShadow)wrapper).GetRadius( out rx, out ry);
400 } catch (Exception e) {
401 Eina.Log.Warning($"Callback error: {e.ToString()}");
402 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
405 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);
408 private static efl_gfx_blur_radius_get_delegate efl_gfx_blur_radius_get_static_delegate;
411 private delegate void efl_gfx_blur_radius_set_delegate(System.IntPtr obj, System.IntPtr pd, double rx, double ry);
414 public delegate void efl_gfx_blur_radius_set_api_delegate(System.IntPtr obj, double rx, double ry);
415 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");
416 private static void radius_set(System.IntPtr obj, System.IntPtr pd, double rx, double ry)
418 Eina.Log.Debug("function efl_gfx_blur_radius_set was called");
419 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
420 if(wrapper != null) {
423 ((WidgetPartShadow)wrapper).SetRadius( rx, ry);
424 } catch (Exception e) {
425 Eina.Log.Warning($"Callback error: {e.ToString()}");
426 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
429 efl_gfx_blur_radius_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rx, ry);
432 private static efl_gfx_blur_radius_set_delegate efl_gfx_blur_radius_set_static_delegate;
435 private delegate void efl_gfx_blur_offset_get_delegate(System.IntPtr obj, System.IntPtr pd, out double ox, out double oy);
438 public delegate void efl_gfx_blur_offset_get_api_delegate(System.IntPtr obj, out double ox, out double oy);
439 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");
440 private static void offset_get(System.IntPtr obj, System.IntPtr pd, out double ox, out double oy)
442 Eina.Log.Debug("function efl_gfx_blur_offset_get was called");
443 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
444 if(wrapper != null) {
445 ox = default(double); oy = default(double);
447 ((WidgetPartShadow)wrapper).GetOffset( out ox, out oy);
448 } catch (Exception e) {
449 Eina.Log.Warning($"Callback error: {e.ToString()}");
450 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
453 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);
456 private static efl_gfx_blur_offset_get_delegate efl_gfx_blur_offset_get_static_delegate;
459 private delegate void efl_gfx_blur_offset_set_delegate(System.IntPtr obj, System.IntPtr pd, double ox, double oy);
462 public delegate void efl_gfx_blur_offset_set_api_delegate(System.IntPtr obj, double ox, double oy);
463 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");
464 private static void offset_set(System.IntPtr obj, System.IntPtr pd, double ox, double oy)
466 Eina.Log.Debug("function efl_gfx_blur_offset_set was called");
467 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
468 if(wrapper != null) {
471 ((WidgetPartShadow)wrapper).SetOffset( ox, oy);
472 } catch (Exception e) {
473 Eina.Log.Warning($"Callback error: {e.ToString()}");
474 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
477 efl_gfx_blur_offset_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ox, oy);
480 private static efl_gfx_blur_offset_set_delegate efl_gfx_blur_offset_set_static_delegate;
483 private delegate double efl_gfx_blur_grow_get_delegate(System.IntPtr obj, System.IntPtr pd);
486 public delegate double efl_gfx_blur_grow_get_api_delegate(System.IntPtr obj);
487 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");
488 private static double grow_get(System.IntPtr obj, System.IntPtr pd)
490 Eina.Log.Debug("function efl_gfx_blur_grow_get was called");
491 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
492 if(wrapper != null) {
493 double _ret_var = default(double);
495 _ret_var = ((WidgetPartShadow)wrapper).GetGrow();
496 } catch (Exception e) {
497 Eina.Log.Warning($"Callback error: {e.ToString()}");
498 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
502 return efl_gfx_blur_grow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
505 private static efl_gfx_blur_grow_get_delegate efl_gfx_blur_grow_get_static_delegate;
508 private delegate void efl_gfx_blur_grow_set_delegate(System.IntPtr obj, System.IntPtr pd, double radius);
511 public delegate void efl_gfx_blur_grow_set_api_delegate(System.IntPtr obj, double radius);
512 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");
513 private static void grow_set(System.IntPtr obj, System.IntPtr pd, double radius)
515 Eina.Log.Debug("function efl_gfx_blur_grow_set was called");
516 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
517 if(wrapper != null) {
520 ((WidgetPartShadow)wrapper).SetGrow( radius);
521 } catch (Exception e) {
522 Eina.Log.Warning($"Callback error: {e.ToString()}");
523 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
526 efl_gfx_blur_grow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radius);
529 private static efl_gfx_blur_grow_set_delegate efl_gfx_blur_grow_set_static_delegate;
532 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);
535 public delegate void efl_gfx_color_get_api_delegate(System.IntPtr obj, out int r, out int g, out int b, out int a);
536 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");
537 private static void color_get(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a)
539 Eina.Log.Debug("function efl_gfx_color_get was called");
540 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
541 if(wrapper != null) {
542 r = default(int); g = default(int); b = default(int); a = default(int);
544 ((WidgetPartShadow)wrapper).GetColor( out r, out g, out b, out a);
545 } catch (Exception e) {
546 Eina.Log.Warning($"Callback error: {e.ToString()}");
547 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
550 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);
553 private static efl_gfx_color_get_delegate efl_gfx_color_get_static_delegate;
556 private delegate void efl_gfx_color_set_delegate(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a);
559 public delegate void efl_gfx_color_set_api_delegate(System.IntPtr obj, int r, int g, int b, int a);
560 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");
561 private static void color_set(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a)
563 Eina.Log.Debug("function efl_gfx_color_set was called");
564 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
565 if(wrapper != null) {
568 ((WidgetPartShadow)wrapper).SetColor( r, g, b, a);
569 } catch (Exception e) {
570 Eina.Log.Warning($"Callback error: {e.ToString()}");
571 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
574 efl_gfx_color_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r, g, b, a);
577 private static efl_gfx_color_set_delegate efl_gfx_color_set_static_delegate;
580 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_gfx_color_code_get_delegate(System.IntPtr obj, System.IntPtr pd);
583 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_gfx_color_code_get_api_delegate(System.IntPtr obj);
584 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");
585 private static System.String color_code_get(System.IntPtr obj, System.IntPtr pd)
587 Eina.Log.Debug("function efl_gfx_color_code_get was called");
588 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
589 if(wrapper != null) {
590 System.String _ret_var = default(System.String);
592 _ret_var = ((WidgetPartShadow)wrapper).GetColorCode();
593 } catch (Exception e) {
594 Eina.Log.Warning($"Callback error: {e.ToString()}");
595 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
599 return efl_gfx_color_code_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
602 private static efl_gfx_color_code_get_delegate efl_gfx_color_code_get_static_delegate;
605 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);
608 public delegate void efl_gfx_color_code_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
609 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");
610 private static void color_code_set(System.IntPtr obj, System.IntPtr pd, System.String colorcode)
612 Eina.Log.Debug("function efl_gfx_color_code_set was called");
613 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
614 if(wrapper != null) {
617 ((WidgetPartShadow)wrapper).SetColorCode( colorcode);
618 } catch (Exception e) {
619 Eina.Log.Warning($"Callback error: {e.ToString()}");
620 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
623 efl_gfx_color_code_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), colorcode);
626 private static efl_gfx_color_code_set_delegate efl_gfx_color_code_set_static_delegate;
629 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);
632 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);
633 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");
634 private static void filter_program_get(System.IntPtr obj, System.IntPtr pd, out System.String code, out System.String name)
636 Eina.Log.Debug("function efl_gfx_filter_program_get was called");
637 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
638 if(wrapper != null) {
639 System.String _out_code = default(System.String);
640 System.String _out_name = default(System.String);
643 ((WidgetPartShadow)wrapper).GetFilterProgram( out _out_code, out _out_name);
644 } catch (Exception e) {
645 Eina.Log.Warning($"Callback error: {e.ToString()}");
646 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
651 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);
654 private static efl_gfx_filter_program_get_delegate efl_gfx_filter_program_get_static_delegate;
657 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);
660 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);
661 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");
662 private static void filter_program_set(System.IntPtr obj, System.IntPtr pd, System.String code, System.String name)
664 Eina.Log.Debug("function efl_gfx_filter_program_set was called");
665 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
666 if(wrapper != null) {
669 ((WidgetPartShadow)wrapper).SetFilterProgram( code, name);
670 } catch (Exception e) {
671 Eina.Log.Warning($"Callback error: {e.ToString()}");
672 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
675 efl_gfx_filter_program_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), code, name);
678 private static efl_gfx_filter_program_set_delegate efl_gfx_filter_program_set_static_delegate;
681 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);
684 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);
685 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");
686 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)
688 Eina.Log.Debug("function efl_gfx_filter_state_get was called");
689 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
690 if(wrapper != null) {
691 System.String _out_cur_state = default(System.String);
692 cur_val = default(double); System.String _out_next_state = default(System.String);
693 next_val = default(double); pos = default(double);
695 ((WidgetPartShadow)wrapper).GetFilterState( out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos);
696 } catch (Exception e) {
697 Eina.Log.Warning($"Callback error: {e.ToString()}");
698 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
700 cur_state = _out_cur_state;
701 next_state = _out_next_state;
703 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);
706 private static efl_gfx_filter_state_get_delegate efl_gfx_filter_state_get_static_delegate;
709 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);
712 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);
713 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");
714 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)
716 Eina.Log.Debug("function efl_gfx_filter_state_set was called");
717 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
718 if(wrapper != null) {
721 ((WidgetPartShadow)wrapper).SetFilterState( cur_state, cur_val, next_state, next_val, pos);
722 } catch (Exception e) {
723 Eina.Log.Warning($"Callback error: {e.ToString()}");
724 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
727 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);
730 private static efl_gfx_filter_state_set_delegate efl_gfx_filter_state_set_static_delegate;
733 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);
736 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);
737 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");
738 private static void filter_padding_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
740 Eina.Log.Debug("function efl_gfx_filter_padding_get was called");
741 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
742 if(wrapper != null) {
743 l = default(int); r = default(int); t = default(int); b = default(int);
745 ((WidgetPartShadow)wrapper).GetFilterPadding( out l, out r, out t, out b);
746 } catch (Exception e) {
747 Eina.Log.Warning($"Callback error: {e.ToString()}");
748 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
751 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);
754 private static efl_gfx_filter_padding_get_delegate efl_gfx_filter_padding_get_static_delegate;
757 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] 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);
760 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] 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);
761 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");
762 private static Efl.Gfx.IEntity filter_source_get(System.IntPtr obj, System.IntPtr pd, System.String name)
764 Eina.Log.Debug("function efl_gfx_filter_source_get was called");
765 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
766 if(wrapper != null) {
767 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
769 _ret_var = ((WidgetPartShadow)wrapper).GetFilterSource( name);
770 } catch (Exception e) {
771 Eina.Log.Warning($"Callback error: {e.ToString()}");
772 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
776 return efl_gfx_filter_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
779 private static efl_gfx_filter_source_get_delegate efl_gfx_filter_source_get_static_delegate;
782 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.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
785 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.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
786 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");
787 private static void filter_source_set(System.IntPtr obj, System.IntPtr pd, System.String name, Efl.Gfx.IEntity source)
789 Eina.Log.Debug("function efl_gfx_filter_source_set was called");
790 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
791 if(wrapper != null) {
794 ((WidgetPartShadow)wrapper).SetFilterSource( name, source);
795 } catch (Exception e) {
796 Eina.Log.Warning($"Callback error: {e.ToString()}");
797 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
800 efl_gfx_filter_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, source);
803 private static efl_gfx_filter_source_set_delegate efl_gfx_filter_source_set_static_delegate;
806 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);
809 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);
810 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");
811 private static void filter_data_get(System.IntPtr obj, System.IntPtr pd, System.String name, out System.String value, out bool execute)
813 Eina.Log.Debug("function efl_gfx_filter_data_get was called");
814 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
815 if(wrapper != null) {
816 System.String _out_value = default(System.String);
817 execute = default(bool);
819 ((WidgetPartShadow)wrapper).GetFilterData( name, out _out_value, out execute);
820 } catch (Exception e) {
821 Eina.Log.Warning($"Callback error: {e.ToString()}");
822 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
826 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);
829 private static efl_gfx_filter_data_get_delegate efl_gfx_filter_data_get_static_delegate;
832 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);
835 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);
836 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");
837 private static void filter_data_set(System.IntPtr obj, System.IntPtr pd, System.String name, System.String value, bool execute)
839 Eina.Log.Debug("function efl_gfx_filter_data_set was called");
840 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
841 if(wrapper != null) {
844 ((WidgetPartShadow)wrapper).SetFilterData( name, value, execute);
845 } catch (Exception e) {
846 Eina.Log.Warning($"Callback error: {e.ToString()}");
847 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
850 efl_gfx_filter_data_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, value, execute);
853 private static efl_gfx_filter_data_set_delegate efl_gfx_filter_data_set_static_delegate;