Initial support for AIR

This commit is contained in:
Joshua Granick
2017-08-24 12:50:13 -07:00
parent f2a8092834
commit 9991e99fee
186 changed files with 2590 additions and 68 deletions

View File

@@ -0,0 +1,19 @@
package flash.events;
@:require(flash10_1) extern class GestureEvent extends Event {
var altKey : Bool;
#if air
var commandKey : Bool;
var controlKey : Bool;
#end
var ctrlKey : Bool;
var localX : Float;
var localY : Float;
var phase : String;
var shiftKey : Bool;
var stageX(default,never) : Float;
var stageY(default,never) : Float;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?phase : String, localX : Float = 0, localY : Float = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
function updateAfterEvent() : Void;
static var GESTURE_TWO_FINGER_TAP(default,never) : String;
}