Ejemplo n.º 1
0
        private void OnGesture(CocoGestureType gestureType, DiscreteGesture gesture)
        {
            if (ShouldIgnoreGesture(gestureType, gesture.Position))
            {
                return;
            }
            if (!StartGestureProcess(gestureType))
            {
                return;
            }

            ProcessGestureData(gestureType, gesture);
            EndGestureProcess(gestureType);
        }
Ejemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DiscreteGesture obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }