X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FLinearConstrainer.cs;h=d87cea953c06654d3a240fb5c3184cccb965950a;hp=6cf0062dfcc1b6b36548efa5419758e7450a5584;hb=318378db7fbb0bcfb08c3c603f54857d6f5c9639;hpb=d375dceca213569317d81d17cd2d2a4b45122cda diff --git a/plugins/dali-sharp/sharp/internal/LinearConstrainer.cs b/plugins/dali-sharp/sharp/internal/LinearConstrainer.cs index 6cf0062..d87cea9 100644 --- a/plugins/dali-sharp/sharp/internal/LinearConstrainer.cs +++ b/plugins/dali-sharp/sharp/internal/LinearConstrainer.cs @@ -26,7 +26,7 @@ namespace Dali { -public class LinearConstrainer : Handle { +internal class LinearConstrainer : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal LinearConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LinearConstrainer_SWIGUpcast(cPtr), cMemoryOwn) { @@ -42,7 +42,7 @@ public class LinearConstrainer : Handle { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -130,8 +130,8 @@ public class LinearConstrainer : Handle { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void Remove(Handle target) { - NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Handle.getCPtr(target)); + public void Remove(Animatable target) { + NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Animatable.getCPtr(target)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -140,12 +140,12 @@ public class LinearConstrainer : Handle { get { Dali.Property.Array temp = new Dali.Property.Array(); - GetProperty( LinearConstrainer.Property.VALUE).Get( temp ); + Dali.Object.GetProperty( swigCPtr, LinearConstrainer.Property.VALUE).Get( temp ); return temp; } set { - SetProperty( LinearConstrainer.Property.VALUE, new Dali.Property.Value( value ) ); + Dali.Object.SetProperty( swigCPtr, LinearConstrainer.Property.VALUE, new Dali.Property.Value( value ) ); } } public Dali.Property.Array Progress @@ -153,12 +153,12 @@ public class LinearConstrainer : Handle { get { Dali.Property.Array temp = new Dali.Property.Array(); - GetProperty( LinearConstrainer.Property.PROGRESS).Get( temp ); + Dali.Object.GetProperty( swigCPtr, LinearConstrainer.Property.PROGRESS).Get( temp ); return temp; } set { - SetProperty( LinearConstrainer.Property.PROGRESS, new Dali.Property.Value( value ) ); + Dali.Object.SetProperty( swigCPtr, LinearConstrainer.Property.PROGRESS, new Dali.Property.Value( value ) ); } }