X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FGestureDetector.cs;h=ef20276f4b2e3a721dca8c6ae6055c953c88c7b1;hp=8574a692360e5b32898a7ccd7ef5896d1b3936dc;hb=665d92f07e3e06e1db65a473c6eb6869dc476c03;hpb=3f9ac0fc2696228635f88f4207086ba44183bc82 diff --git a/plugins/dali-sharp/sharp/internal/GestureDetector.cs b/plugins/dali-sharp/sharp/internal/GestureDetector.cs index 8574a69..ef20276 100644 --- a/plugins/dali-sharp/sharp/internal/GestureDetector.cs +++ b/plugins/dali-sharp/sharp/internal/GestureDetector.cs @@ -26,7 +26,7 @@ public class GestureDetector : BaseHandle { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -65,13 +65,13 @@ public class GestureDetector : BaseHandle { return ret; } - public void Attach(Actor actor) { - NDalicPINVOKE.GestureDetector_Attach(swigCPtr, Actor.getCPtr(actor)); + public void Attach(View view) { + NDalicPINVOKE.GestureDetector_Attach(swigCPtr, View.getCPtr(view)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public void Detach(Actor actor) { - NDalicPINVOKE.GestureDetector_Detach(swigCPtr, Actor.getCPtr(actor)); + public void Detach(View view) { + NDalicPINVOKE.GestureDetector_Detach(swigCPtr, View.getCPtr(view)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -80,14 +80,14 @@ public class GestureDetector : BaseHandle { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public uint GetAttachedActorCount() { + public uint GetAttachedViewCount() { uint ret = NDalicPINVOKE.GestureDetector_GetAttachedActorCount(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } - public Actor GetAttachedActor(uint index) { - Actor ret = new Actor(NDalicPINVOKE.GestureDetector_GetAttachedActor(swigCPtr, index), true); + public View GetAttachedView(uint index) { + View ret = new View(NDalicPINVOKE.GestureDetector_GetAttachedActor(swigCPtr, index), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }