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) {
}
public override void Dispose() {
- if (!Stage.IsInstalled()) {
+ if (!Window.IsInstalled()) {
DisposeQueue.Instance.Add(this);
return;
}
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();
}
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;
}