mirror of
https://github.com/scratchfoundation/Gestouch.git
synced 2025-02-16 23:40:14 -05:00
Improved event handling autocompletion (for FD)
This commit is contained in:
parent
54cc5d42bd
commit
8d870f4e93
8 changed files with 41 additions and 2 deletions
|
@ -15,6 +15,12 @@ package org.gestouch.gestures
|
|||
import flash.utils.Dictionary;
|
||||
|
||||
|
||||
/**
|
||||
* Dispatched when the state of the gesture changes.
|
||||
*
|
||||
* @eventType org.gestouch.events.GestureStateEvent
|
||||
* @see #state
|
||||
*/
|
||||
[Event(name="stateChange", type="org.gestouch.events.GestureStateEvent")]
|
||||
/**
|
||||
* Base class for all gestures. Gesture is essentially a detector that tracks touch points
|
||||
|
|
|
@ -8,6 +8,11 @@ package org.gestouch.gestures
|
|||
import flash.utils.Timer;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @eventType org.gestouch.events.LongPressGestureEvent
|
||||
*/
|
||||
[Event(name="gestureLongPress", type="org.gestouch.events.LongPressGestureEvent")]
|
||||
/**
|
||||
* TODO: -location
|
||||
* - check on iOS (Obj-C) what happens when numTouchesRequired=2, two finger down, then quickly release one.
|
||||
|
|
|
@ -6,6 +6,11 @@ package org.gestouch.gestures
|
|||
|
||||
import flash.geom.Point;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @eventType org.gestouch.events.PanGestureEvent
|
||||
*/
|
||||
[Event(name="gesturePan", type="org.gestouch.events.PanGestureEvent")]
|
||||
/**
|
||||
* TODO:
|
||||
|
|
|
@ -7,6 +7,11 @@ package org.gestouch.gestures
|
|||
|
||||
import flash.geom.Point;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @eventType org.gestouch.events.RotateGestureEvent
|
||||
*/
|
||||
[Event(name="gestureRotate", type="org.gestouch.events.RotateGestureEvent")]
|
||||
/**
|
||||
* TODO:
|
||||
|
|
|
@ -6,6 +6,11 @@ package org.gestouch.gestures
|
|||
|
||||
import flash.geom.Point;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @eventType org.gestouch.events.SwipeGestureEvent
|
||||
*/
|
||||
[Event(name="gestureSwipe", type="org.gestouch.events.SwipeGestureEvent")]
|
||||
/**
|
||||
* TODO:
|
||||
|
|
|
@ -8,6 +8,10 @@ package org.gestouch.gestures
|
|||
import flash.utils.Timer;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @eventType org.gestouch.events.TapGestureEvent
|
||||
*/
|
||||
[Event(name="gestureTap", type="org.gestouch.events.TapGestureEvent")]
|
||||
/**
|
||||
* TODO: check failing conditions (iDevice)
|
||||
|
|
|
@ -6,8 +6,12 @@ package org.gestouch.gestures
|
|||
import org.gestouch.utils.GestureUtils;
|
||||
|
||||
import flash.geom.Point;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @eventType org.gestouch.events.TransformGestureEvent
|
||||
*/
|
||||
[Event(name="gestureTransform", type="org.gestouch.events.TransformGestureEvent")]
|
||||
/**
|
||||
* @author Pavel fljot
|
||||
|
|
|
@ -6,6 +6,11 @@ package org.gestouch.gestures
|
|||
|
||||
import flash.geom.Point;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @eventType org.gestouch.events.ZoomGestureEvent
|
||||
*/
|
||||
[Event(name="gestureZoom", type="org.gestouch.events.ZoomGestureEvent")]
|
||||
/**
|
||||
* TODO:
|
||||
|
|
Loading…
Reference in a new issue