X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FStage.cs;h=3eef0a58e8726dfbbc8e5a8c0a68467c5d367a47;hb=fbed08db8a1fac3ff6d6e519cf7d9906ae45add9;hp=2f8a6d2e1addc95fc86c4f0888bf861d404c246a;hpb=acf5beb7c6add7f9aee259715c24e1e75ddbedab;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-sharp/sharp/internal/Stage.cs b/plugins/dali-sharp/sharp/internal/Stage.cs index 2f8a6d2..3eef0a5 100644 --- a/plugins/dali-sharp/sharp/internal/Stage.cs +++ b/plugins/dali-sharp/sharp/internal/Stage.cs @@ -482,16 +482,16 @@ public class Stage : BaseHandle { public void AddLayer(Layer layer) { - this.Add( (Actor)layer ); + NDalicPINVOKE.Stage_Add(swigCPtr, Layer.getCPtr(layer)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } public void RemoveLayer(Layer layer) { - this.Remove( (Actor)layer ); + NDalicPINVOKE.Stage_Remove(swigCPtr, Layer.getCPtr(layer)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - - public static Vector4 DEFAULT_BACKGROUND_COLOR { get { global::System.IntPtr cPtr = NDalicPINVOKE.Stage_DEFAULT_BACKGROUND_COLOR_get(); @@ -536,13 +536,13 @@ public class Stage : BaseHandle { return ret; } - public void Add(Actor actor) { - NDalicPINVOKE.Stage_Add(swigCPtr, Actor.getCPtr(actor)); + public void Add(View view) { + NDalicPINVOKE.Stage_Add(swigCPtr, View.getCPtr(view)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void Remove(Actor actor) { - NDalicPINVOKE.Stage_Remove(swigCPtr, Actor.getCPtr(actor)); + public void Remove(View view) { + NDalicPINVOKE.Stage_Remove(swigCPtr, View.getCPtr(view)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); }