X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FPushButton.cs;h=5bc4f1f8bd776a565534cf229ccfbdff6c43f82c;hp=17afb872d0c6f0ab784d50e1a6ad8e02a03ee697;hb=0f5a8aaa14ccf06aee1069ef585d83b8506dd099;hpb=82e6a46b87c64df1be36cf414f6e94f9d17d52ff diff --git a/plugins/dali-sharp/sharp/internal/PushButton.cs b/plugins/dali-sharp/sharp/internal/PushButton.cs index 17afb87..5bc4f1f 100644 --- a/plugins/dali-sharp/sharp/internal/PushButton.cs +++ b/plugins/dali-sharp/sharp/internal/PushButton.cs @@ -42,7 +42,7 @@ public class PushButton : Button { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -128,13 +128,13 @@ public class PushButton : Button { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetButtonImage(Actor image) { - NDalicPINVOKE.PushButton_SetButtonImage__SWIG_1(swigCPtr, Actor.getCPtr(image)); + public void SetButtonImage(View image) { + NDalicPINVOKE.PushButton_SetButtonImage__SWIG_1(swigCPtr, View.getCPtr(image)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetBackgroundImage(Actor image) { - NDalicPINVOKE.PushButton_SetBackgroundImage(swigCPtr, Actor.getCPtr(image)); + public void SetBackgroundImage(View image) { + NDalicPINVOKE.PushButton_SetBackgroundImage(swigCPtr, View.getCPtr(image)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -143,28 +143,28 @@ public class PushButton : Button { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetSelectedImage(Actor image) { - NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_1(swigCPtr, Actor.getCPtr(image)); + public void SetSelectedImage(View image) { + NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_1(swigCPtr, View.getCPtr(image)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetSelectedBackgroundImage(Actor image) { - NDalicPINVOKE.PushButton_SetSelectedBackgroundImage(swigCPtr, Actor.getCPtr(image)); + public void SetSelectedBackgroundImage(View image) { + NDalicPINVOKE.PushButton_SetSelectedBackgroundImage(swigCPtr, View.getCPtr(image)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetDisabledBackgroundImage(Actor image) { - NDalicPINVOKE.PushButton_SetDisabledBackgroundImage(swigCPtr, Actor.getCPtr(image)); + public void SetDisabledBackgroundImage(View image) { + NDalicPINVOKE.PushButton_SetDisabledBackgroundImage(swigCPtr, View.getCPtr(image)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetDisabledImage(Actor image) { - NDalicPINVOKE.PushButton_SetDisabledImage(swigCPtr, Actor.getCPtr(image)); + public void SetDisabledImage(View image) { + NDalicPINVOKE.PushButton_SetDisabledImage(swigCPtr, View.getCPtr(image)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetDisabledSelectedImage(Actor image) { - NDalicPINVOKE.PushButton_SetDisabledSelectedImage(swigCPtr, Actor.getCPtr(image)); + public void SetDisabledSelectedImage(View image) { + NDalicPINVOKE.PushButton_SetDisabledSelectedImage(swigCPtr, View.getCPtr(image)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); }