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=0b65dc3b40d369860095d443800daa6d8806b85e;hp=4609902d1c37da8e6d33666e512deba52f0c8125;hb=318378db7fbb0bcfb08c3c603f54857d6f5c9639;hpb=d375dceca213569317d81d17cd2d2a4b45122cda diff --git a/plugins/dali-sharp/sharp/internal/GestureDetector.cs b/plugins/dali-sharp/sharp/internal/GestureDetector.cs index 4609902..0b65dc3 100644 --- a/plugins/dali-sharp/sharp/internal/GestureDetector.cs +++ b/plugins/dali-sharp/sharp/internal/GestureDetector.cs @@ -10,7 +10,7 @@ namespace Dali { -public class GestureDetector : Handle { +internal class GestureDetector : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal GestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.GestureDetector_SWIGUpcast(cPtr), cMemoryOwn) { @@ -26,7 +26,7 @@ public class GestureDetector : Handle { } public override void Dispose() { - if (!Stage.IsInstalled()) { + if (!Window.IsInstalled()) { DisposeQueue.Instance.Add(this); return; } @@ -65,13 +65,13 @@ public class GestureDetector : Handle { 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 : Handle { 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; }