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>Efl animation class</summary>
13 [Efl.Canvas.Animation.NativeMethods]
14 [Efl.Eo.BindingEntity]
15 public class Animation : Efl.Object, Efl.IPlayable
17 ///<summary>Pointer to the native class description.</summary>
18 public override System.IntPtr NativeClass
22 if (((object)this).GetType() == typeof(Animation))
24 return GetEflClassStatic();
28 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
33 [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
34 efl_canvas_animation_class_get();
35 /// <summary>Initializes a new instance of the <see cref="Animation"/> class.</summary>
36 /// <param name="parent">Parent instance.</param>
37 public Animation(Efl.Object parent= null
38 ) : base(efl_canvas_animation_class_get(), parent)
40 FinishInstantiation();
43 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
44 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
45 protected Animation(ConstructingHandle ch) : base(ch)
49 /// <summary>Initializes a new instance of the <see cref="Animation"/> 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="wh">The native pointer to be wrapped.</param>
52 protected Animation(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
56 /// <summary>Initializes a new instance of the <see cref="Animation"/> 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="parent">The Efl.Object parent of this instance.</param>
60 protected Animation(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
64 /// <summary>Keep final state property</summary>
65 /// <returns><c>true</c> to keep final state, <c>false</c> otherwise.</returns>
66 virtual public bool GetFinalStateKeep() {
67 var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
68 Eina.Error.RaiseIfUnhandledException();
71 /// <summary>Keep final state property</summary>
72 /// <param name="keep"><c>true</c> to keep final state, <c>false</c> otherwise.</param>
73 virtual public void SetFinalStateKeep(bool keep) {
74 Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),keep);
75 Eina.Error.RaiseIfUnhandledException();
77 /// <summary>Duration property</summary>
78 /// <returns>Duration value.</returns>
79 virtual public double GetDuration() {
80 var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_duration_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
81 Eina.Error.RaiseIfUnhandledException();
84 /// <summary>Duration property</summary>
85 /// <param name="sec">Duration value.</param>
86 virtual public void SetDuration(double sec) {
87 Efl.Canvas.Animation.NativeMethods.efl_animation_duration_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
88 Eina.Error.RaiseIfUnhandledException();
90 /// <summary>Repeat mode property</summary>
91 /// <returns>Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</returns>
92 virtual public Efl.Canvas.AnimationRepeatMode GetRepeatMode() {
93 var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
94 Eina.Error.RaiseIfUnhandledException();
97 /// <summary>Repeat mode property</summary>
98 /// <param name="mode">Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</param>
99 virtual public void SetRepeatMode(Efl.Canvas.AnimationRepeatMode mode) {
100 Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
101 Eina.Error.RaiseIfUnhandledException();
103 /// <summary>Repeat count property</summary>
104 /// <returns>Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</returns>
105 virtual public int GetRepeatCount() {
106 var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
107 Eina.Error.RaiseIfUnhandledException();
110 /// <summary>Repeat count property</summary>
111 /// <param name="count">Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</param>
112 virtual public void SetRepeatCount(int count) {
113 Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),count);
114 Eina.Error.RaiseIfUnhandledException();
116 /// <summary>Start delay property</summary>
117 /// <returns>Delay time, in seconds, from when the animation starts until the animation is animated</returns>
118 virtual public double GetStartDelay() {
119 var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
120 Eina.Error.RaiseIfUnhandledException();
123 /// <summary>Start delay property</summary>
124 /// <param name="sec">Delay time, in seconds, from when the animation starts until the animation is animated</param>
125 virtual public void SetStartDelay(double sec) {
126 Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
127 Eina.Error.RaiseIfUnhandledException();
129 /// <summary>Interpolator property</summary>
130 /// <returns>Interpolator which indicates interpolation function. Efl_Interpolator is required.</returns>
131 virtual public Efl.IInterpolator GetInterpolator() {
132 var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
133 Eina.Error.RaiseIfUnhandledException();
136 /// <summary>Interpolator property</summary>
137 /// <param name="interpolator">Interpolator which indicates interpolation function. Efl_Interpolator is required.</param>
138 virtual public void SetInterpolator(Efl.IInterpolator interpolator) {
139 Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),interpolator);
140 Eina.Error.RaiseIfUnhandledException();
142 /// <returns>Final applied progress.</returns>
143 virtual public double AnimationApply(double progress, Efl.Canvas.Object target) {
144 var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_apply_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress, target);
145 Eina.Error.RaiseIfUnhandledException();
148 /// <summary>Get the length of play for the media file.</summary>
149 /// <returns>The length of the stream in seconds.</returns>
150 virtual public double GetLength() {
151 var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
152 Eina.Error.RaiseIfUnhandledException();
155 virtual public bool GetPlayable() {
156 var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
157 Eina.Error.RaiseIfUnhandledException();
160 /// <summary>Get whether the media file is seekable.</summary>
161 /// <returns><c>true</c> if seekable.</returns>
162 virtual public bool GetSeekable() {
163 var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_seekable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
164 Eina.Error.RaiseIfUnhandledException();
167 /// <summary>Keep final state property</summary>
168 /// <value><c>true</c> to keep final state, <c>false</c> otherwise.</value>
169 public bool FinalStateKeep {
170 get { return GetFinalStateKeep(); }
171 set { SetFinalStateKeep(value); }
173 /// <summary>Duration property</summary>
174 /// <value>Duration value.</value>
175 public double Duration {
176 get { return GetDuration(); }
177 set { SetDuration(value); }
179 /// <summary>Repeat mode property</summary>
180 /// <value>Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</value>
181 public Efl.Canvas.AnimationRepeatMode RepeatMode {
182 get { return GetRepeatMode(); }
183 set { SetRepeatMode(value); }
185 /// <summary>Repeat count property</summary>
186 /// <value>Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</value>
187 public int RepeatCount {
188 get { return GetRepeatCount(); }
189 set { SetRepeatCount(value); }
191 /// <summary>Start delay property</summary>
192 /// <value>Delay time, in seconds, from when the animation starts until the animation is animated</value>
193 public double StartDelay {
194 get { return GetStartDelay(); }
195 set { SetStartDelay(value); }
197 /// <summary>Interpolator property</summary>
198 /// <value>Interpolator which indicates interpolation function. Efl_Interpolator is required.</value>
199 public Efl.IInterpolator Interpolator {
200 get { return GetInterpolator(); }
201 set { SetInterpolator(value); }
203 /// <summary>Get the length of play for the media file.</summary>
204 /// <value>The length of the stream in seconds.</value>
205 public double Length {
206 get { return GetLength(); }
208 public bool Playable {
209 get { return GetPlayable(); }
211 /// <summary>Get whether the media file is seekable.</summary>
212 /// <value><c>true</c> if seekable.</value>
213 public bool Seekable {
214 get { return GetSeekable(); }
216 private static IntPtr GetEflClassStatic()
218 return Efl.Canvas.Animation.efl_canvas_animation_class_get();
220 /// <summary>Wrapper for native methods and virtual method delegates.
221 /// For internal use by generated code only.</summary>
222 public new class NativeMethods : Efl.Object.NativeMethods
224 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
225 /// <summary>Gets the list of Eo operations to override.</summary>
226 /// <returns>The list of Eo operations to be overload.</returns>
227 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
229 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
230 var methods = Efl.Eo.Globals.GetUserMethods(type);
232 if (efl_animation_final_state_keep_get_static_delegate == null)
234 efl_animation_final_state_keep_get_static_delegate = new efl_animation_final_state_keep_get_delegate(final_state_keep_get);
237 if (methods.FirstOrDefault(m => m.Name == "GetFinalStateKeep") != null)
239 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_final_state_keep_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_final_state_keep_get_static_delegate) });
242 if (efl_animation_final_state_keep_set_static_delegate == null)
244 efl_animation_final_state_keep_set_static_delegate = new efl_animation_final_state_keep_set_delegate(final_state_keep_set);
247 if (methods.FirstOrDefault(m => m.Name == "SetFinalStateKeep") != null)
249 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_final_state_keep_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_final_state_keep_set_static_delegate) });
252 if (efl_animation_duration_get_static_delegate == null)
254 efl_animation_duration_get_static_delegate = new efl_animation_duration_get_delegate(duration_get);
257 if (methods.FirstOrDefault(m => m.Name == "GetDuration") != null)
259 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_duration_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_duration_get_static_delegate) });
262 if (efl_animation_duration_set_static_delegate == null)
264 efl_animation_duration_set_static_delegate = new efl_animation_duration_set_delegate(duration_set);
267 if (methods.FirstOrDefault(m => m.Name == "SetDuration") != null)
269 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_duration_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_duration_set_static_delegate) });
272 if (efl_animation_repeat_mode_get_static_delegate == null)
274 efl_animation_repeat_mode_get_static_delegate = new efl_animation_repeat_mode_get_delegate(repeat_mode_get);
277 if (methods.FirstOrDefault(m => m.Name == "GetRepeatMode") != null)
279 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_mode_get_static_delegate) });
282 if (efl_animation_repeat_mode_set_static_delegate == null)
284 efl_animation_repeat_mode_set_static_delegate = new efl_animation_repeat_mode_set_delegate(repeat_mode_set);
287 if (methods.FirstOrDefault(m => m.Name == "SetRepeatMode") != null)
289 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_mode_set_static_delegate) });
292 if (efl_animation_repeat_count_get_static_delegate == null)
294 efl_animation_repeat_count_get_static_delegate = new efl_animation_repeat_count_get_delegate(repeat_count_get);
297 if (methods.FirstOrDefault(m => m.Name == "GetRepeatCount") != null)
299 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_count_get_static_delegate) });
302 if (efl_animation_repeat_count_set_static_delegate == null)
304 efl_animation_repeat_count_set_static_delegate = new efl_animation_repeat_count_set_delegate(repeat_count_set);
307 if (methods.FirstOrDefault(m => m.Name == "SetRepeatCount") != null)
309 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_count_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_count_set_static_delegate) });
312 if (efl_animation_start_delay_get_static_delegate == null)
314 efl_animation_start_delay_get_static_delegate = new efl_animation_start_delay_get_delegate(start_delay_get);
317 if (methods.FirstOrDefault(m => m.Name == "GetStartDelay") != null)
319 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_start_delay_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_start_delay_get_static_delegate) });
322 if (efl_animation_start_delay_set_static_delegate == null)
324 efl_animation_start_delay_set_static_delegate = new efl_animation_start_delay_set_delegate(start_delay_set);
327 if (methods.FirstOrDefault(m => m.Name == "SetStartDelay") != null)
329 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_start_delay_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_start_delay_set_static_delegate) });
332 if (efl_animation_interpolator_get_static_delegate == null)
334 efl_animation_interpolator_get_static_delegate = new efl_animation_interpolator_get_delegate(interpolator_get);
337 if (methods.FirstOrDefault(m => m.Name == "GetInterpolator") != null)
339 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_interpolator_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_interpolator_get_static_delegate) });
342 if (efl_animation_interpolator_set_static_delegate == null)
344 efl_animation_interpolator_set_static_delegate = new efl_animation_interpolator_set_delegate(interpolator_set);
347 if (methods.FirstOrDefault(m => m.Name == "SetInterpolator") != null)
349 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_interpolator_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_interpolator_set_static_delegate) });
352 if (efl_animation_apply_static_delegate == null)
354 efl_animation_apply_static_delegate = new efl_animation_apply_delegate(animation_apply);
357 if (methods.FirstOrDefault(m => m.Name == "AnimationApply") != null)
359 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_apply"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_apply_static_delegate) });
362 if (efl_playable_length_get_static_delegate == null)
364 efl_playable_length_get_static_delegate = new efl_playable_length_get_delegate(length_get);
367 if (methods.FirstOrDefault(m => m.Name == "GetLength") != null)
369 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_playable_length_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_length_get_static_delegate) });
372 if (efl_playable_get_static_delegate == null)
374 efl_playable_get_static_delegate = new efl_playable_get_delegate(playable_get);
377 if (methods.FirstOrDefault(m => m.Name == "GetPlayable") != null)
379 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_playable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_get_static_delegate) });
382 if (efl_playable_seekable_get_static_delegate == null)
384 efl_playable_seekable_get_static_delegate = new efl_playable_seekable_get_delegate(seekable_get);
387 if (methods.FirstOrDefault(m => m.Name == "GetSeekable") != null)
389 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_playable_seekable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_seekable_get_static_delegate) });
392 descs.AddRange(base.GetEoOps(type));
395 /// <summary>Returns the Eo class for the native methods of this class.</summary>
396 /// <returns>The native class pointer.</returns>
397 public override IntPtr GetEflClass()
399 return Efl.Canvas.Animation.efl_canvas_animation_class_get();
402 #pragma warning disable CA1707, CS1591, SA1300, SA1600
404 [return: MarshalAs(UnmanagedType.U1)]
405 private delegate bool efl_animation_final_state_keep_get_delegate(System.IntPtr obj, System.IntPtr pd);
407 [return: MarshalAs(UnmanagedType.U1)]
408 public delegate bool efl_animation_final_state_keep_get_api_delegate(System.IntPtr obj);
410 public static Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_get_api_delegate> efl_animation_final_state_keep_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_get_api_delegate>(Module, "efl_animation_final_state_keep_get");
412 private static bool final_state_keep_get(System.IntPtr obj, System.IntPtr pd)
414 Eina.Log.Debug("function efl_animation_final_state_keep_get was called");
415 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
418 bool _ret_var = default(bool);
421 _ret_var = ((Animation)ws.Target).GetFinalStateKeep();
425 Eina.Log.Warning($"Callback error: {e.ToString()}");
426 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
434 return efl_animation_final_state_keep_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
438 private static efl_animation_final_state_keep_get_delegate efl_animation_final_state_keep_get_static_delegate;
441 private delegate void efl_animation_final_state_keep_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool keep);
444 public delegate void efl_animation_final_state_keep_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool keep);
446 public static Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_set_api_delegate> efl_animation_final_state_keep_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_set_api_delegate>(Module, "efl_animation_final_state_keep_set");
448 private static void final_state_keep_set(System.IntPtr obj, System.IntPtr pd, bool keep)
450 Eina.Log.Debug("function efl_animation_final_state_keep_set was called");
451 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
457 ((Animation)ws.Target).SetFinalStateKeep(keep);
461 Eina.Log.Warning($"Callback error: {e.ToString()}");
462 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
469 efl_animation_final_state_keep_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), keep);
473 private static efl_animation_final_state_keep_set_delegate efl_animation_final_state_keep_set_static_delegate;
476 private delegate double efl_animation_duration_get_delegate(System.IntPtr obj, System.IntPtr pd);
479 public delegate double efl_animation_duration_get_api_delegate(System.IntPtr obj);
481 public static Efl.Eo.FunctionWrapper<efl_animation_duration_get_api_delegate> efl_animation_duration_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_duration_get_api_delegate>(Module, "efl_animation_duration_get");
483 private static double duration_get(System.IntPtr obj, System.IntPtr pd)
485 Eina.Log.Debug("function efl_animation_duration_get was called");
486 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
489 double _ret_var = default(double);
492 _ret_var = ((Animation)ws.Target).GetDuration();
496 Eina.Log.Warning($"Callback error: {e.ToString()}");
497 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
505 return efl_animation_duration_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
509 private static efl_animation_duration_get_delegate efl_animation_duration_get_static_delegate;
512 private delegate void efl_animation_duration_set_delegate(System.IntPtr obj, System.IntPtr pd, double sec);
515 public delegate void efl_animation_duration_set_api_delegate(System.IntPtr obj, double sec);
517 public static Efl.Eo.FunctionWrapper<efl_animation_duration_set_api_delegate> efl_animation_duration_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_duration_set_api_delegate>(Module, "efl_animation_duration_set");
519 private static void duration_set(System.IntPtr obj, System.IntPtr pd, double sec)
521 Eina.Log.Debug("function efl_animation_duration_set was called");
522 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
528 ((Animation)ws.Target).SetDuration(sec);
532 Eina.Log.Warning($"Callback error: {e.ToString()}");
533 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
540 efl_animation_duration_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sec);
544 private static efl_animation_duration_set_delegate efl_animation_duration_set_static_delegate;
547 private delegate Efl.Canvas.AnimationRepeatMode efl_animation_repeat_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
550 public delegate Efl.Canvas.AnimationRepeatMode efl_animation_repeat_mode_get_api_delegate(System.IntPtr obj);
552 public static Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_get_api_delegate> efl_animation_repeat_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_get_api_delegate>(Module, "efl_animation_repeat_mode_get");
554 private static Efl.Canvas.AnimationRepeatMode repeat_mode_get(System.IntPtr obj, System.IntPtr pd)
556 Eina.Log.Debug("function efl_animation_repeat_mode_get was called");
557 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
560 Efl.Canvas.AnimationRepeatMode _ret_var = default(Efl.Canvas.AnimationRepeatMode);
563 _ret_var = ((Animation)ws.Target).GetRepeatMode();
567 Eina.Log.Warning($"Callback error: {e.ToString()}");
568 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
576 return efl_animation_repeat_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
580 private static efl_animation_repeat_mode_get_delegate efl_animation_repeat_mode_get_static_delegate;
583 private delegate void efl_animation_repeat_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.AnimationRepeatMode mode);
586 public delegate void efl_animation_repeat_mode_set_api_delegate(System.IntPtr obj, Efl.Canvas.AnimationRepeatMode mode);
588 public static Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_set_api_delegate> efl_animation_repeat_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_set_api_delegate>(Module, "efl_animation_repeat_mode_set");
590 private static void repeat_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.AnimationRepeatMode mode)
592 Eina.Log.Debug("function efl_animation_repeat_mode_set was called");
593 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
599 ((Animation)ws.Target).SetRepeatMode(mode);
603 Eina.Log.Warning($"Callback error: {e.ToString()}");
604 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
611 efl_animation_repeat_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode);
615 private static efl_animation_repeat_mode_set_delegate efl_animation_repeat_mode_set_static_delegate;
618 private delegate int efl_animation_repeat_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
621 public delegate int efl_animation_repeat_count_get_api_delegate(System.IntPtr obj);
623 public static Efl.Eo.FunctionWrapper<efl_animation_repeat_count_get_api_delegate> efl_animation_repeat_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_count_get_api_delegate>(Module, "efl_animation_repeat_count_get");
625 private static int repeat_count_get(System.IntPtr obj, System.IntPtr pd)
627 Eina.Log.Debug("function efl_animation_repeat_count_get was called");
628 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
631 int _ret_var = default(int);
634 _ret_var = ((Animation)ws.Target).GetRepeatCount();
638 Eina.Log.Warning($"Callback error: {e.ToString()}");
639 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
647 return efl_animation_repeat_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
651 private static efl_animation_repeat_count_get_delegate efl_animation_repeat_count_get_static_delegate;
654 private delegate void efl_animation_repeat_count_set_delegate(System.IntPtr obj, System.IntPtr pd, int count);
657 public delegate void efl_animation_repeat_count_set_api_delegate(System.IntPtr obj, int count);
659 public static Efl.Eo.FunctionWrapper<efl_animation_repeat_count_set_api_delegate> efl_animation_repeat_count_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_count_set_api_delegate>(Module, "efl_animation_repeat_count_set");
661 private static void repeat_count_set(System.IntPtr obj, System.IntPtr pd, int count)
663 Eina.Log.Debug("function efl_animation_repeat_count_set was called");
664 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
670 ((Animation)ws.Target).SetRepeatCount(count);
674 Eina.Log.Warning($"Callback error: {e.ToString()}");
675 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
682 efl_animation_repeat_count_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), count);
686 private static efl_animation_repeat_count_set_delegate efl_animation_repeat_count_set_static_delegate;
689 private delegate double efl_animation_start_delay_get_delegate(System.IntPtr obj, System.IntPtr pd);
692 public delegate double efl_animation_start_delay_get_api_delegate(System.IntPtr obj);
694 public static Efl.Eo.FunctionWrapper<efl_animation_start_delay_get_api_delegate> efl_animation_start_delay_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_start_delay_get_api_delegate>(Module, "efl_animation_start_delay_get");
696 private static double start_delay_get(System.IntPtr obj, System.IntPtr pd)
698 Eina.Log.Debug("function efl_animation_start_delay_get was called");
699 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
702 double _ret_var = default(double);
705 _ret_var = ((Animation)ws.Target).GetStartDelay();
709 Eina.Log.Warning($"Callback error: {e.ToString()}");
710 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
718 return efl_animation_start_delay_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
722 private static efl_animation_start_delay_get_delegate efl_animation_start_delay_get_static_delegate;
725 private delegate void efl_animation_start_delay_set_delegate(System.IntPtr obj, System.IntPtr pd, double sec);
728 public delegate void efl_animation_start_delay_set_api_delegate(System.IntPtr obj, double sec);
730 public static Efl.Eo.FunctionWrapper<efl_animation_start_delay_set_api_delegate> efl_animation_start_delay_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_start_delay_set_api_delegate>(Module, "efl_animation_start_delay_set");
732 private static void start_delay_set(System.IntPtr obj, System.IntPtr pd, double sec)
734 Eina.Log.Debug("function efl_animation_start_delay_set was called");
735 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
741 ((Animation)ws.Target).SetStartDelay(sec);
745 Eina.Log.Warning($"Callback error: {e.ToString()}");
746 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
753 efl_animation_start_delay_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sec);
757 private static efl_animation_start_delay_set_delegate efl_animation_start_delay_set_static_delegate;
759 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
760 private delegate Efl.IInterpolator efl_animation_interpolator_get_delegate(System.IntPtr obj, System.IntPtr pd);
762 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
763 public delegate Efl.IInterpolator efl_animation_interpolator_get_api_delegate(System.IntPtr obj);
765 public static Efl.Eo.FunctionWrapper<efl_animation_interpolator_get_api_delegate> efl_animation_interpolator_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_interpolator_get_api_delegate>(Module, "efl_animation_interpolator_get");
767 private static Efl.IInterpolator interpolator_get(System.IntPtr obj, System.IntPtr pd)
769 Eina.Log.Debug("function efl_animation_interpolator_get was called");
770 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
773 Efl.IInterpolator _ret_var = default(Efl.IInterpolator);
776 _ret_var = ((Animation)ws.Target).GetInterpolator();
780 Eina.Log.Warning($"Callback error: {e.ToString()}");
781 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
789 return efl_animation_interpolator_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
793 private static efl_animation_interpolator_get_delegate efl_animation_interpolator_get_static_delegate;
796 private delegate void efl_animation_interpolator_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IInterpolator interpolator);
799 public delegate void efl_animation_interpolator_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IInterpolator interpolator);
801 public static Efl.Eo.FunctionWrapper<efl_animation_interpolator_set_api_delegate> efl_animation_interpolator_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_interpolator_set_api_delegate>(Module, "efl_animation_interpolator_set");
803 private static void interpolator_set(System.IntPtr obj, System.IntPtr pd, Efl.IInterpolator interpolator)
805 Eina.Log.Debug("function efl_animation_interpolator_set was called");
806 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
812 ((Animation)ws.Target).SetInterpolator(interpolator);
816 Eina.Log.Warning($"Callback error: {e.ToString()}");
817 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
824 efl_animation_interpolator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), interpolator);
828 private static efl_animation_interpolator_set_delegate efl_animation_interpolator_set_static_delegate;
831 private delegate double efl_animation_apply_delegate(System.IntPtr obj, System.IntPtr pd, double progress, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object target);
834 public delegate double efl_animation_apply_api_delegate(System.IntPtr obj, double progress, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object target);
836 public static Efl.Eo.FunctionWrapper<efl_animation_apply_api_delegate> efl_animation_apply_ptr = new Efl.Eo.FunctionWrapper<efl_animation_apply_api_delegate>(Module, "efl_animation_apply");
838 private static double animation_apply(System.IntPtr obj, System.IntPtr pd, double progress, Efl.Canvas.Object target)
840 Eina.Log.Debug("function efl_animation_apply was called");
841 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
844 double _ret_var = default(double);
847 _ret_var = ((Animation)ws.Target).AnimationApply(progress, target);
851 Eina.Log.Warning($"Callback error: {e.ToString()}");
852 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
860 return efl_animation_apply_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), progress, target);
864 private static efl_animation_apply_delegate efl_animation_apply_static_delegate;
867 private delegate double efl_playable_length_get_delegate(System.IntPtr obj, System.IntPtr pd);
870 public delegate double efl_playable_length_get_api_delegate(System.IntPtr obj);
872 public static Efl.Eo.FunctionWrapper<efl_playable_length_get_api_delegate> efl_playable_length_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_length_get_api_delegate>(Module, "efl_playable_length_get");
874 private static double length_get(System.IntPtr obj, System.IntPtr pd)
876 Eina.Log.Debug("function efl_playable_length_get was called");
877 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
880 double _ret_var = default(double);
883 _ret_var = ((Animation)ws.Target).GetLength();
887 Eina.Log.Warning($"Callback error: {e.ToString()}");
888 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
896 return efl_playable_length_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
900 private static efl_playable_length_get_delegate efl_playable_length_get_static_delegate;
902 [return: MarshalAs(UnmanagedType.U1)]
903 private delegate bool efl_playable_get_delegate(System.IntPtr obj, System.IntPtr pd);
905 [return: MarshalAs(UnmanagedType.U1)]
906 public delegate bool efl_playable_get_api_delegate(System.IntPtr obj);
908 public static Efl.Eo.FunctionWrapper<efl_playable_get_api_delegate> efl_playable_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_get_api_delegate>(Module, "efl_playable_get");
910 private static bool playable_get(System.IntPtr obj, System.IntPtr pd)
912 Eina.Log.Debug("function efl_playable_get was called");
913 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
916 bool _ret_var = default(bool);
919 _ret_var = ((Animation)ws.Target).GetPlayable();
923 Eina.Log.Warning($"Callback error: {e.ToString()}");
924 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
932 return efl_playable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
936 private static efl_playable_get_delegate efl_playable_get_static_delegate;
938 [return: MarshalAs(UnmanagedType.U1)]
939 private delegate bool efl_playable_seekable_get_delegate(System.IntPtr obj, System.IntPtr pd);
941 [return: MarshalAs(UnmanagedType.U1)]
942 public delegate bool efl_playable_seekable_get_api_delegate(System.IntPtr obj);
944 public static Efl.Eo.FunctionWrapper<efl_playable_seekable_get_api_delegate> efl_playable_seekable_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_seekable_get_api_delegate>(Module, "efl_playable_seekable_get");
946 private static bool seekable_get(System.IntPtr obj, System.IntPtr pd)
948 Eina.Log.Debug("function efl_playable_seekable_get was called");
949 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
952 bool _ret_var = default(bool);
955 _ret_var = ((Animation)ws.Target).GetSeekable();
959 Eina.Log.Warning($"Callback error: {e.ToString()}");
960 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
968 return efl_playable_seekable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
972 private static efl_playable_seekable_get_delegate efl_playable_seekable_get_static_delegate;
974 #pragma warning restore CA1707, CS1591, SA1300, SA1600