X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FPathConstrainer.cs;h=0077d78d12b100f0c40ee13a7fdc1f070a044c2e;hp=85a9488c17390d15e67850de31bbb9acc21bdbd0;hb=318378db7fbb0bcfb08c3c603f54857d6f5c9639;hpb=d375dceca213569317d81d17cd2d2a4b45122cda diff --git a/plugins/dali-sharp/sharp/internal/PathConstrainer.cs b/plugins/dali-sharp/sharp/internal/PathConstrainer.cs index 85a9488..0077d78 100644 --- a/plugins/dali-sharp/sharp/internal/PathConstrainer.cs +++ b/plugins/dali-sharp/sharp/internal/PathConstrainer.cs @@ -26,7 +26,7 @@ namespace Dali { -public class PathConstrainer : Handle { +internal class PathConstrainer : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal PathConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PathConstrainer_SWIGUpcast(cPtr), cMemoryOwn) { @@ -42,7 +42,7 @@ public class PathConstrainer : Handle { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -131,8 +131,8 @@ public class PathConstrainer : Handle { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void Remove(Handle target) { - NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Handle.getCPtr(target)); + public void Remove(Animatable target) { + NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Animatable.getCPtr(target)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -141,12 +141,12 @@ public class PathConstrainer : Handle { get { Vector3 temp = new Vector3(0.0f,0.0f,0.0f); - GetProperty( PathConstrainer.Property.FORWARD).Get( temp ); + Dali.Object.GetProperty( swigCPtr, PathConstrainer.Property.FORWARD).Get( temp ); return temp; } set { - SetProperty( PathConstrainer.Property.FORWARD, new Dali.Property.Value( value ) ); + Dali.Object.SetProperty( swigCPtr, PathConstrainer.Property.FORWARD, new Dali.Property.Value( value ) ); } } public Dali.Property.Array Points @@ -154,12 +154,12 @@ public class PathConstrainer : Handle { get { Dali.Property.Array temp = new Dali.Property.Array(); - GetProperty( PathConstrainer.Property.POINTS).Get( temp ); + Dali.Object.GetProperty( swigCPtr, PathConstrainer.Property.POINTS).Get( temp ); return temp; } set { - SetProperty( PathConstrainer.Property.POINTS, new Dali.Property.Value( value ) ); + Dali.Object.SetProperty( swigCPtr, PathConstrainer.Property.POINTS, new Dali.Property.Value( value ) ); } } public Dali.Property.Array ControlPoints @@ -167,12 +167,12 @@ public class PathConstrainer : Handle { get { Dali.Property.Array temp = new Dali.Property.Array(); - GetProperty( PathConstrainer.Property.CONTROL_POINTS).Get( temp ); + Dali.Object.GetProperty( swigCPtr, PathConstrainer.Property.CONTROL_POINTS).Get( temp ); return temp; } set { - SetProperty( PathConstrainer.Property.CONTROL_POINTS, new Dali.Property.Value( value ) ); + Dali.Object.SetProperty( swigCPtr, PathConstrainer.Property.CONTROL_POINTS, new Dali.Property.Value( value ) ); } }