1 %rename(Hover) Dali::HoverEvent;
3 %csmethodmodifiers Dali::HoverEvent::points "private";
4 %csmethodmodifiers Dali::HoverEvent::time "private";
6 %typemap(cscode) Dali::HoverEvent %{
7 public static Hover GetHoverFromPtr(global::System.IntPtr cPtr) {
8 Hover ret = new Hover(cPtr, false);
9 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
13 public uint GetTime() {
17 public int GetDeviceId(uint point) {
18 if( point < points.Count )
20 return points[(int)point].deviceId;
25 public PointStateType GetState(uint point) {
26 if( point < points.Count )
28 return (Dali.PointStateType)(points[(int)point].state);
30 return PointStateType.FINISHED;
33 public Actor GetHitActor(uint point) {
34 if( point < points.Count )
36 return points[(int)point].hitActor;
40 // Return a native empty handle
41 Actor actor = new Actor();
47 public Vector2 GetLocalPosition(uint point) {
48 if( point < points.Count )
50 return points[(int)point].local;
52 return new Vector2(0.0f, 0.0f);
55 public Vector2 GetScreenPosition(uint point) {
56 if( point < points.Count )
58 return points[(int)point].screen;
60 return new Vector2(0.0f, 0.0f);