X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FScrollBar.cs;h=3266752c7ce98ae072478cff7583c6032d3b928f;hp=fce71d2c453539ab8a0d54494e5f8b1902af2e32;hb=665d92f07e3e06e1db65a473c6eb6869dc476c03;hpb=3f9ac0fc2696228635f88f4207086ba44183bc82 diff --git a/plugins/dali-sharp/sharp/internal/ScrollBar.cs b/plugins/dali-sharp/sharp/internal/ScrollBar.cs index fce71d2..3266752 100644 --- a/plugins/dali-sharp/sharp/internal/ScrollBar.cs +++ b/plugins/dali-sharp/sharp/internal/ScrollBar.cs @@ -46,7 +46,7 @@ public class ScrollBar : View { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -261,13 +261,13 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void SetScrollIndicator(Actor indicator) { - NDalicPINVOKE.ScrollBar_SetScrollIndicator(swigCPtr, Actor.getCPtr(indicator)); + public void SetScrollIndicator(View indicator) { + NDalicPINVOKE.ScrollBar_SetScrollIndicator(swigCPtr, View.getCPtr(indicator)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public Actor GetScrollIndicator() { - Actor ret = new Actor(NDalicPINVOKE.ScrollBar_GetScrollIndicator(swigCPtr), true); + public View GetScrollIndicator() { + View ret = new View(NDalicPINVOKE.ScrollBar_GetScrollIndicator(swigCPtr), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }