using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
+using System.Threading;
using System.ComponentModel;
-namespace Efl { namespace Canvas {
+namespace Efl {
+
+namespace Canvas {
+
/// <summary>Efl translate animation class</summary>
-[AnimationTranslateNativeInherit]
+[Efl.Canvas.AnimationTranslate.NativeMethods]
public class AnimationTranslate : Efl.Canvas.Animation, Efl.Eo.IWrapper
{
///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass {
- get {
- if (((object)this).GetType() == typeof (AnimationTranslate))
- return Efl.Canvas.AnimationTranslateNativeInherit.GetEflClassStatic();
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(AnimationTranslate))
+ {
+ return GetEflClassStatic();
+ }
else
+ {
return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
}
}
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_canvas_animation_translate_class_get();
- ///<summary>Creates a new instance.</summary>
- ///<param name="parent">Parent instance.</param>
+ /// <summary>Initializes a new instance of the <see cref="AnimationTranslate"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
public AnimationTranslate(Efl.Object parent= null
- ) :
- base(efl_canvas_animation_translate_class_get(), typeof(AnimationTranslate), parent)
+ ) : base(efl_canvas_animation_translate_class_get(), typeof(AnimationTranslate), parent)
{
FinishInstantiation();
}
- ///<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>
+
+ /// <summary>Initializes a new instance of the <see cref="AnimationTranslate"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="raw">The native pointer to be wrapped.</param>
protected AnimationTranslate(System.IntPtr raw) : base(raw)
{
- RegisterEventProxies();
+ }
+
+ /// <summary>Initializes a new instance of the <see cref="AnimationTranslate"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected AnimationTranslate(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ {
}
- ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- protected AnimationTranslate(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
- ///<summary>Verifies if the given object is equal to this one.</summary>
- public override bool Equals(object obj)
+
+ /// <summary>Verifies if the given object is equal to this one.</summary>
+ /// <param name="instance">The object to compare to.</param>
+ /// <returns>True if both objects point to the same native object.</returns>
+ public override bool Equals(object instance)
{
- var other = obj as Efl.Object;
+ var other = instance as Efl.Object;
if (other == null)
+ {
return false;
+ }
return this.NativeHandle == other.NativeHandle;
}
- ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
+
+ /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
+ /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
public override int GetHashCode()
{
return this.NativeHandle.ToInt32();
}
- ///<summary>Turns the native pointer into a string representation.</summary>
+
+ /// <summary>Turns the native pointer into a string representation.</summary>
+ /// <returns>A string with the type and the native pointer for this object.</returns>
public override String ToString()
{
return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
}
- ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
- protected override void RegisterEventProxies()
- {
- base.RegisterEventProxies();
- }
+
/// <summary>Translate property</summary>
/// <param name="from_x">Distance moved along x axis when animation starts</param>
/// <param name="from_y">Distance moved along y axis when animation starts</param>
/// <param name="to_x">Distance moved along x axis when animation ends</param>
/// <param name="to_y">Distance moved along y axis when animation ends</param>
- /// <returns></returns>
- virtual public void GetTranslate( out int from_x, out int from_y, out int to_x, out int to_y) {
- Efl.Canvas.AnimationTranslateNativeInherit.efl_animation_translate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out from_x, out from_y, out to_x, out to_y);
+ virtual public void GetTranslate(out int from_x, out int from_y, out int to_x, out int to_y) {
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_x, out from_y, out to_x, out to_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Translate property</summary>
/// <param name="from_y">Distance moved along y axis when animation starts</param>
/// <param name="to_x">Distance moved along x axis when animation ends</param>
/// <param name="to_y">Distance moved along y axis when animation ends</param>
- /// <returns></returns>
- virtual public void SetTranslate( int from_x, int from_y, int to_x, int to_y) {
- Efl.Canvas.AnimationTranslateNativeInherit.efl_animation_translate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), from_x, from_y, to_x, to_y);
+ virtual public void SetTranslate(int from_x, int from_y, int to_x, int to_y) {
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_x, from_y, to_x, to_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Translate absolute property</summary>
/// <param name="from_y">Y coordinate when animation starts</param>
/// <param name="to_x">X coordinate when animation ends</param>
/// <param name="to_y">Y coordinate when animation ends</param>
- /// <returns></returns>
- virtual public void GetTranslateAbsolute( out int from_x, out int from_y, out int to_x, out int to_y) {
- Efl.Canvas.AnimationTranslateNativeInherit.efl_animation_translate_absolute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out from_x, out from_y, out to_x, out to_y);
+ virtual public void GetTranslateAbsolute(out int from_x, out int from_y, out int to_x, out int to_y) {
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_absolute_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out from_x, out from_y, out to_x, out to_y);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Translate absolute property</summary>
/// <param name="from_y">Y coordinate when animation starts</param>
/// <param name="to_x">X coordinate when animation ends</param>
/// <param name="to_y">Y coordinate when animation ends</param>
- /// <returns></returns>
- virtual public void SetTranslateAbsolute( int from_x, int from_y, int to_x, int to_y) {
- Efl.Canvas.AnimationTranslateNativeInherit.efl_animation_translate_absolute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), from_x, from_y, to_x, to_y);
+ virtual public void SetTranslateAbsolute(int from_x, int from_y, int to_x, int to_y) {
+ Efl.Canvas.AnimationTranslate.NativeMethods.efl_animation_translate_absolute_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),from_x, from_y, to_x, to_y);
Eina.Error.RaiseIfUnhandledException();
}
private static IntPtr GetEflClassStatic()
{
return Efl.Canvas.AnimationTranslate.efl_canvas_animation_translate_class_get();
}
-}
-public class AnimationTranslateNativeInherit : Efl.Canvas.AnimationNativeInherit{
- public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Evas);
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_animation_translate_get_static_delegate == null)
- efl_animation_translate_get_static_delegate = new efl_animation_translate_get_delegate(translate_get);
- if (methods.FirstOrDefault(m => m.Name == "GetTranslate") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_translate_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_get_static_delegate)});
- if (efl_animation_translate_set_static_delegate == null)
- efl_animation_translate_set_static_delegate = new efl_animation_translate_set_delegate(translate_set);
- if (methods.FirstOrDefault(m => m.Name == "SetTranslate") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_translate_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_set_static_delegate)});
- if (efl_animation_translate_absolute_get_static_delegate == null)
- efl_animation_translate_absolute_get_static_delegate = new efl_animation_translate_absolute_get_delegate(translate_absolute_get);
- if (methods.FirstOrDefault(m => m.Name == "GetTranslateAbsolute") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_translate_absolute_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_absolute_get_static_delegate)});
- if (efl_animation_translate_absolute_set_static_delegate == null)
- efl_animation_translate_absolute_set_static_delegate = new efl_animation_translate_absolute_set_delegate(translate_absolute_set);
- if (methods.FirstOrDefault(m => m.Name == "SetTranslateAbsolute") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_translate_absolute_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_absolute_set_static_delegate)});
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- public override IntPtr GetEflClass()
- {
- return Efl.Canvas.AnimationTranslate.efl_canvas_animation_translate_class_get();
- }
- public static new IntPtr GetEflClassStatic()
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Canvas.Animation.NativeMethods
{
- return Efl.Canvas.AnimationTranslate.efl_canvas_animation_translate_class_get();
- }
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+ if (efl_animation_translate_get_static_delegate == null)
+ {
+ efl_animation_translate_get_static_delegate = new efl_animation_translate_get_delegate(translate_get);
+ }
- private delegate void efl_animation_translate_get_delegate(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y);
+ if (methods.FirstOrDefault(m => m.Name == "GetTranslate") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_translate_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_get_static_delegate) });
+ }
+ if (efl_animation_translate_set_static_delegate == null)
+ {
+ efl_animation_translate_set_static_delegate = new efl_animation_translate_set_delegate(translate_set);
+ }
- public delegate void efl_animation_translate_get_api_delegate(System.IntPtr obj, out int from_x, out int from_y, out int to_x, out int to_y);
- public static Efl.Eo.FunctionWrapper<efl_animation_translate_get_api_delegate> efl_animation_translate_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_get_api_delegate>(_Module, "efl_animation_translate_get");
- private static void translate_get(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y)
- {
- Eina.Log.Debug("function efl_animation_translate_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- from_x = default(int); from_y = default(int); to_x = default(int); to_y = default(int);
- try {
- ((AnimationTranslate)wrapper).GetTranslate( out from_x, out from_y, out to_x, out to_y);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_translate_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out from_x, out from_y, out to_x, out to_y);
+ if (methods.FirstOrDefault(m => m.Name == "SetTranslate") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_translate_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_set_static_delegate) });
+ }
+
+ if (efl_animation_translate_absolute_get_static_delegate == null)
+ {
+ efl_animation_translate_absolute_get_static_delegate = new efl_animation_translate_absolute_get_delegate(translate_absolute_get);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "GetTranslateAbsolute") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_translate_absolute_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_absolute_get_static_delegate) });
+ }
+
+ if (efl_animation_translate_absolute_set_static_delegate == null)
+ {
+ efl_animation_translate_absolute_set_static_delegate = new efl_animation_translate_absolute_set_delegate(translate_absolute_set);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "SetTranslateAbsolute") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_translate_absolute_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_translate_absolute_set_static_delegate) });
+ }
+
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Canvas.AnimationTranslate.efl_canvas_animation_translate_class_get();
}
- }
- private static efl_animation_translate_get_delegate efl_animation_translate_get_static_delegate;
+ #pragma warning disable CA1707, SA1300, SA1600
- private delegate void efl_animation_translate_set_delegate(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y);
+
+ private delegate void efl_animation_translate_get_delegate(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y);
+
+ public delegate void efl_animation_translate_get_api_delegate(System.IntPtr obj, out int from_x, out int from_y, out int to_x, out int to_y);
- public delegate void efl_animation_translate_set_api_delegate(System.IntPtr obj, int from_x, int from_y, int to_x, int to_y);
- public static Efl.Eo.FunctionWrapper<efl_animation_translate_set_api_delegate> efl_animation_translate_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_set_api_delegate>(_Module, "efl_animation_translate_set");
- private static void translate_set(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y)
- {
- Eina.Log.Debug("function efl_animation_translate_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((AnimationTranslate)wrapper).SetTranslate( from_x, from_y, to_x, to_y);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_translate_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from_x, from_y, to_x, to_y);
+ public static Efl.Eo.FunctionWrapper<efl_animation_translate_get_api_delegate> efl_animation_translate_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_get_api_delegate>(Module, "efl_animation_translate_get");
+
+ private static void translate_get(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y)
+ {
+ Eina.Log.Debug("function efl_animation_translate_get was called");
+ Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
+ if (wrapper != null)
+ {
+ from_x = default(int); from_y = default(int); to_x = default(int); to_y = default(int);
+ try
+ {
+ ((AnimationTranslate)wrapper).GetTranslate(out from_x, out from_y, out to_x, out to_y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_translate_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out from_x, out from_y, out to_x, out to_y);
+ }
}
- }
- private static efl_animation_translate_set_delegate efl_animation_translate_set_static_delegate;
+ private static efl_animation_translate_get_delegate efl_animation_translate_get_static_delegate;
- private delegate void efl_animation_translate_absolute_get_delegate(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y);
+
+ private delegate void efl_animation_translate_set_delegate(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y);
+
+ public delegate void efl_animation_translate_set_api_delegate(System.IntPtr obj, int from_x, int from_y, int to_x, int to_y);
- public delegate void efl_animation_translate_absolute_get_api_delegate(System.IntPtr obj, out int from_x, out int from_y, out int to_x, out int to_y);
- public static Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_get_api_delegate> efl_animation_translate_absolute_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_get_api_delegate>(_Module, "efl_animation_translate_absolute_get");
- private static void translate_absolute_get(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y)
- {
- Eina.Log.Debug("function efl_animation_translate_absolute_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- from_x = default(int); from_y = default(int); to_x = default(int); to_y = default(int);
- try {
- ((AnimationTranslate)wrapper).GetTranslateAbsolute( out from_x, out from_y, out to_x, out to_y);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_translate_absolute_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out from_x, out from_y, out to_x, out to_y);
+ public static Efl.Eo.FunctionWrapper<efl_animation_translate_set_api_delegate> efl_animation_translate_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_set_api_delegate>(Module, "efl_animation_translate_set");
+
+ private static void translate_set(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y)
+ {
+ Eina.Log.Debug("function efl_animation_translate_set was called");
+ Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
+ if (wrapper != null)
+ {
+
+ try
+ {
+ ((AnimationTranslate)wrapper).SetTranslate(from_x, from_y, to_x, to_y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_translate_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from_x, from_y, to_x, to_y);
+ }
}
- }
- private static efl_animation_translate_absolute_get_delegate efl_animation_translate_absolute_get_static_delegate;
+ private static efl_animation_translate_set_delegate efl_animation_translate_set_static_delegate;
- private delegate void efl_animation_translate_absolute_set_delegate(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y);
+
+ private delegate void efl_animation_translate_absolute_get_delegate(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y);
+
+ public delegate void efl_animation_translate_absolute_get_api_delegate(System.IntPtr obj, out int from_x, out int from_y, out int to_x, out int to_y);
- public delegate void efl_animation_translate_absolute_set_api_delegate(System.IntPtr obj, int from_x, int from_y, int to_x, int to_y);
- public static Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_set_api_delegate> efl_animation_translate_absolute_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_set_api_delegate>(_Module, "efl_animation_translate_absolute_set");
- private static void translate_absolute_set(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y)
- {
- Eina.Log.Debug("function efl_animation_translate_absolute_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((AnimationTranslate)wrapper).SetTranslateAbsolute( from_x, from_y, to_x, to_y);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_translate_absolute_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from_x, from_y, to_x, to_y);
+ public static Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_get_api_delegate> efl_animation_translate_absolute_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_get_api_delegate>(Module, "efl_animation_translate_absolute_get");
+
+ private static void translate_absolute_get(System.IntPtr obj, System.IntPtr pd, out int from_x, out int from_y, out int to_x, out int to_y)
+ {
+ Eina.Log.Debug("function efl_animation_translate_absolute_get was called");
+ Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
+ if (wrapper != null)
+ {
+ from_x = default(int); from_y = default(int); to_x = default(int); to_y = default(int);
+ try
+ {
+ ((AnimationTranslate)wrapper).GetTranslateAbsolute(out from_x, out from_y, out to_x, out to_y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_translate_absolute_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out from_x, out from_y, out to_x, out to_y);
+ }
}
- }
- private static efl_animation_translate_absolute_set_delegate efl_animation_translate_absolute_set_static_delegate;
+
+ private static efl_animation_translate_absolute_get_delegate efl_animation_translate_absolute_get_static_delegate;
+
+
+ private delegate void efl_animation_translate_absolute_set_delegate(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y);
+
+
+ public delegate void efl_animation_translate_absolute_set_api_delegate(System.IntPtr obj, int from_x, int from_y, int to_x, int to_y);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_set_api_delegate> efl_animation_translate_absolute_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_translate_absolute_set_api_delegate>(Module, "efl_animation_translate_absolute_set");
+
+ private static void translate_absolute_set(System.IntPtr obj, System.IntPtr pd, int from_x, int from_y, int to_x, int to_y)
+ {
+ Eina.Log.Debug("function efl_animation_translate_absolute_set was called");
+ Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
+ if (wrapper != null)
+ {
+
+ try
+ {
+ ((AnimationTranslate)wrapper).SetTranslateAbsolute(from_x, from_y, to_x, to_y);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_translate_absolute_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from_x, from_y, to_x, to_y);
+ }
+ }
+
+ private static efl_animation_translate_absolute_set_delegate efl_animation_translate_absolute_set_static_delegate;
+
+ #pragma warning restore CA1707, SA1300, SA1600
+
}
-} }
+}
+}
+
+}
+