X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FButton.cs;h=d7852604aa445ed008ca84dd7995ba1906c15f6a;hp=81aa7db862df1eed7f514f056a7e723e0df0ed71;hb=665d92f07e3e06e1db65a473c6eb6869dc476c03;hpb=d375dceca213569317d81d17cd2d2a4b45122cda diff --git a/plugins/dali-sharp/sharp/internal/Button.cs b/plugins/dali-sharp/sharp/internal/Button.cs index 81aa7db..d785260 100644 --- a/plugins/dali-sharp/sharp/internal/Button.cs +++ b/plugins/dali-sharp/sharp/internal/Button.cs @@ -30,7 +30,7 @@ public class Button : View { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -617,8 +617,8 @@ public class StateChangedEventArgs : EventArgs return ret; } - public void SetLabel(Actor label) { - NDalicPINVOKE.Button_SetLabel(swigCPtr, Actor.getCPtr(label)); + public void SetLabel(View label) { + NDalicPINVOKE.Button_SetLabel(swigCPtr, View.getCPtr(label)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -632,14 +632,14 @@ public class StateChangedEventArgs : EventArgs if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public Actor GetButtonImage() { - Actor ret = new Actor(NDalicPINVOKE.Button_GetButtonImage(swigCPtr), true); + public View GetButtonImage() { + View ret = new View(NDalicPINVOKE.Button_GetButtonImage(swigCPtr), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } - public Actor GetSelectedImage() { - Actor ret = new Actor(NDalicPINVOKE.Button_GetSelectedImage(swigCPtr), true); + public View GetSelectedImage() { + View ret = new View(NDalicPINVOKE.Button_GetSelectedImage(swigCPtr), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }