X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-sharp%2Fsharp%2Fpublic%2FTouchPoint.cs;fp=plugins%2Fdali-sharp%2Fsharp%2Finternal%2FTouchPoint.cs;h=4b27649b92854f39274a7eb7a46eb8c4aae033a3;hb=318378db7fbb0bcfb08c3c603f54857d6f5c9639;hp=f4428fb81caac140aad5c587a8ff2010c69f0123;hpb=0f5a8aaa14ccf06aee1069ef585d83b8506dd099;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-sharp/sharp/internal/TouchPoint.cs b/plugins/dali-sharp/sharp/public/TouchPoint.cs similarity index 86% rename from plugins/dali-sharp/sharp/internal/TouchPoint.cs rename to plugins/dali-sharp/sharp/public/TouchPoint.cs index f4428fb..4b27649 100644 --- a/plugins/dali-sharp/sharp/internal/TouchPoint.cs +++ b/plugins/dali-sharp/sharp/public/TouchPoint.cs @@ -46,15 +46,15 @@ public class TouchPoint : global::System.IDisposable { } - public TouchPoint(int id, TouchPoint.State state, float screenX, float screenY) : this(NDalicPINVOKE.new_TouchPoint__SWIG_0(id, (int)state, screenX, screenY), true) { + public TouchPoint(int id, TouchPoint.StateType state, float screenX, float screenY) : this(NDalicPINVOKE.new_TouchPoint__SWIG_0(id, (int)state, screenX, screenY), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public TouchPoint(int id, TouchPoint.State state, float screenX, float screenY, float localX, float localY) : this(NDalicPINVOKE.new_TouchPoint__SWIG_1(id, (int)state, screenX, screenY, localX, localY), true) { + public TouchPoint(int id, TouchPoint.StateType state, float screenX, float screenY, float localX, float localY) : this(NDalicPINVOKE.new_TouchPoint__SWIG_1(id, (int)state, screenX, screenY, localX, localY), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public int deviceId { + public int DeviceId { set { NDalicPINVOKE.TouchPoint_deviceId_set(swigCPtr, value); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -66,19 +66,19 @@ public class TouchPoint : global::System.IDisposable { } } - public TouchPoint.State state { + public TouchPoint.StateType State { set { NDalicPINVOKE.TouchPoint_state_set(swigCPtr, (int)value); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } get { - TouchPoint.State ret = (TouchPoint.State)NDalicPINVOKE.TouchPoint_state_get(swigCPtr); + TouchPoint.StateType ret = (TouchPoint.StateType)NDalicPINVOKE.TouchPoint_state_get(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } } - public View hitView { + public View HitView { set { NDalicPINVOKE.TouchPoint_hitActor_set(swigCPtr, View.getCPtr(value)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -91,7 +91,7 @@ public class TouchPoint : global::System.IDisposable { } } - public Vector2 local { + public Vector2 Local { set { NDalicPINVOKE.TouchPoint_local_set(swigCPtr, Vector2.getCPtr(value)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -104,7 +104,7 @@ public class TouchPoint : global::System.IDisposable { } } - public Vector2 screen { + public Vector2 Screen { set { NDalicPINVOKE.TouchPoint_screen_set(swigCPtr, Vector2.getCPtr(value)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -117,7 +117,7 @@ public class TouchPoint : global::System.IDisposable { } } - public enum State { + public enum StateType { Started, Finished, Down = Started,