forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
5
Kha/Tools/macos/std/flash/display/AVLoader.hx
Normal file
5
Kha/Tools/macos/std/flash/display/AVLoader.hx
Normal file
@ -0,0 +1,5 @@
|
||||
package flash.display;
|
||||
|
||||
extern class AVLoader extends Loader {
|
||||
function new() : Void;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/AVM1Movie.hx
Normal file
7
Kha/Tools/macos/std/flash/display/AVM1Movie.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
extern class AVM1Movie extends DisplayObject {
|
||||
function new() : Void;
|
||||
function addCallback(functionName : String, closure : flash.utils.Function) : Void;
|
||||
function call(functionName : String, restArgs : haxe.extern.Rest<Dynamic>) : Dynamic;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/ActionScriptVersion.hx
Normal file
6
Kha/Tools/macos/std/flash/display/ActionScriptVersion.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.ActionScriptVersion") extern enum abstract ActionScriptVersion(UInt) {
|
||||
var ACTIONSCRIPT2;
|
||||
var ACTIONSCRIPT3;
|
||||
}
|
14
Kha/Tools/macos/std/flash/display/Bitmap.hx
Normal file
14
Kha/Tools/macos/std/flash/display/Bitmap.hx
Normal file
@ -0,0 +1,14 @@
|
||||
package flash.display;
|
||||
|
||||
extern class Bitmap extends DisplayObject {
|
||||
@:flash.property var bitmapData(get,set) : BitmapData;
|
||||
@:flash.property var pixelSnapping(get,set) : PixelSnapping;
|
||||
@:flash.property var smoothing(get,set) : Bool;
|
||||
function new(?bitmapData : BitmapData, ?pixelSnapping : PixelSnapping, smoothing : Bool = false) : Void;
|
||||
private function get_bitmapData() : BitmapData;
|
||||
private function get_pixelSnapping() : PixelSnapping;
|
||||
private function get_smoothing() : Bool;
|
||||
private function set_bitmapData(value : BitmapData) : BitmapData;
|
||||
private function set_pixelSnapping(value : PixelSnapping) : PixelSnapping;
|
||||
private function set_smoothing(value : Bool) : Bool;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.BitmapCompressColorSpace") extern enum abstract BitmapCompressColorSpace(String) {
|
||||
var COLORSPACE_4_2_0;
|
||||
var COLORSPACE_4_2_2;
|
||||
var COLORSPACE_4_4_4;
|
||||
var COLORSPACE_AUTO;
|
||||
}
|
47
Kha/Tools/macos/std/flash/display/BitmapData.hx
Normal file
47
Kha/Tools/macos/std/flash/display/BitmapData.hx
Normal file
@ -0,0 +1,47 @@
|
||||
package flash.display;
|
||||
|
||||
extern class BitmapData implements IBitmapDrawable {
|
||||
@:flash.property var height(get,never) : Int;
|
||||
@:flash.property var rect(get,never) : flash.geom.Rectangle;
|
||||
@:flash.property var transparent(get,never) : Bool;
|
||||
@:flash.property var width(get,never) : Int;
|
||||
function new(width : Int, height : Int, transparent : Bool = true, fillColor : UInt = 0xFFFFFFFF) : Void;
|
||||
function applyFilter(sourceBitmapData : BitmapData, sourceRect : flash.geom.Rectangle, destPoint : flash.geom.Point, filter : flash.filters.BitmapFilter) : Void;
|
||||
function clone() : BitmapData;
|
||||
function colorTransform(rect : flash.geom.Rectangle, colorTransform : flash.geom.ColorTransform) : Void;
|
||||
function compare(otherBitmapData : BitmapData) : flash.utils.Object;
|
||||
function copyChannel(sourceBitmapData : BitmapData, sourceRect : flash.geom.Rectangle, destPoint : flash.geom.Point, sourceChannel : UInt, destChannel : UInt) : Void;
|
||||
function copyPixels(sourceBitmapData : BitmapData, sourceRect : flash.geom.Rectangle, destPoint : flash.geom.Point, ?alphaBitmapData : BitmapData, ?alphaPoint : flash.geom.Point, mergeAlpha : Bool = false) : Void;
|
||||
@:require(flash11_4) function copyPixelsToByteArray(rect : flash.geom.Rectangle, data : flash.utils.ByteArray) : Void;
|
||||
function dispose() : Void;
|
||||
function draw(source : IBitmapDrawable, ?matrix : flash.geom.Matrix, ?colorTransform : flash.geom.ColorTransform, ?blendMode : BlendMode, ?clipRect : flash.geom.Rectangle, smoothing : Bool = false) : Void;
|
||||
@:require(flash11_3) function drawWithQuality(source : IBitmapDrawable, ?matrix : flash.geom.Matrix, ?colorTransform : flash.geom.ColorTransform, ?blendMode : BlendMode, ?clipRect : flash.geom.Rectangle, smoothing : Bool = false, ?quality : StageQuality) : Void;
|
||||
@:require(flash11_3) function encode(rect : flash.geom.Rectangle, compressor : flash.utils.Object, ?byteArray : flash.utils.ByteArray) : flash.utils.ByteArray;
|
||||
function fillRect(rect : flash.geom.Rectangle, color : UInt) : Void;
|
||||
function floodFill(x : Int, y : Int, color : UInt) : Void;
|
||||
function generateFilterRect(sourceRect : flash.geom.Rectangle, filter : flash.filters.BitmapFilter) : flash.geom.Rectangle;
|
||||
function getColorBoundsRect(mask : UInt, color : UInt, findColor : Bool = true) : flash.geom.Rectangle;
|
||||
function getPixel(x : Int, y : Int) : UInt;
|
||||
function getPixel32(x : Int, y : Int) : UInt;
|
||||
function getPixels(rect : flash.geom.Rectangle) : flash.utils.ByteArray;
|
||||
@:require(flash10) function getVector(rect : flash.geom.Rectangle) : flash.Vector<UInt>;
|
||||
private function get_height() : Int;
|
||||
private function get_rect() : flash.geom.Rectangle;
|
||||
private function get_transparent() : Bool;
|
||||
private function get_width() : Int;
|
||||
@:require(flash10) function histogram(?hRect : flash.geom.Rectangle) : flash.Vector<flash.Vector<Float>>;
|
||||
function hitTest(firstPoint : flash.geom.Point, firstAlphaThreshold : UInt, secondObject : flash.utils.Object, ?secondBitmapDataPoint : flash.geom.Point, secondAlphaThreshold : UInt = 1) : Bool;
|
||||
function lock() : Void;
|
||||
function merge(sourceBitmapData : BitmapData, sourceRect : flash.geom.Rectangle, destPoint : flash.geom.Point, redMultiplier : UInt, greenMultiplier : UInt, blueMultiplier : UInt, alphaMultiplier : UInt) : Void;
|
||||
function noise(randomSeed : Int, low : UInt = 0, high : UInt = 255, channelOptions : UInt = 7, grayScale : Bool = false) : Void;
|
||||
function paletteMap(sourceBitmapData : BitmapData, sourceRect : flash.geom.Rectangle, destPoint : flash.geom.Point, ?redArray : Array<Int>, ?greenArray : Array<Int>, ?blueArray : Array<Int>, ?alphaArray : Array<Int>) : Void;
|
||||
function perlinNoise(baseX : Float, baseY : Float, numOctaves : UInt, randomSeed : Int, stitch : Bool, fractalNoise : Bool, channelOptions : UInt = 7, grayScale : Bool = false, ?offsets : Array<flash.geom.Point>) : Void;
|
||||
function pixelDissolve(sourceBitmapData : BitmapData, sourceRect : flash.geom.Rectangle, destPoint : flash.geom.Point, randomSeed : Int = 0, numPixels : Int = 0, fillColor : UInt = 0) : Int;
|
||||
function scroll(x : Int, y : Int) : Void;
|
||||
function setPixel(x : Int, y : Int, color : UInt) : Void;
|
||||
function setPixel32(x : Int, y : Int, color : UInt) : Void;
|
||||
function setPixels(rect : flash.geom.Rectangle, inputByteArray : flash.utils.ByteArray) : Void;
|
||||
@:require(flash10) function setVector(rect : flash.geom.Rectangle, inputVector : flash.Vector<UInt>) : Void;
|
||||
function threshold(sourceBitmapData : BitmapData, sourceRect : flash.geom.Rectangle, destPoint : flash.geom.Point, operation : String, threshold : UInt, color : UInt = 0, mask : UInt = 0xFFFFFFFF, copySource : Bool = false) : UInt;
|
||||
function unlock(?changeRect : flash.geom.Rectangle) : Void;
|
||||
}
|
8
Kha/Tools/macos/std/flash/display/BitmapDataChannel.hx
Normal file
8
Kha/Tools/macos/std/flash/display/BitmapDataChannel.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
extern class BitmapDataChannel {
|
||||
public static inline var ALPHA = 8;
|
||||
public static inline var BLUE = 4;
|
||||
public static inline var GREEN = 2;
|
||||
public static inline var RED = 1;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.BitmapEncodingColorSpace") extern enum abstract BitmapEncodingColorSpace(String) {
|
||||
var COLORSPACE_4_2_0;
|
||||
var COLORSPACE_4_2_2;
|
||||
var COLORSPACE_4_4_4;
|
||||
var COLORSPACE_AUTO;
|
||||
}
|
19
Kha/Tools/macos/std/flash/display/BlendMode.hx
Normal file
19
Kha/Tools/macos/std/flash/display/BlendMode.hx
Normal file
@ -0,0 +1,19 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.BlendMode") extern enum abstract BlendMode(String) {
|
||||
var ADD;
|
||||
var ALPHA;
|
||||
var DARKEN;
|
||||
var DIFFERENCE;
|
||||
var ERASE;
|
||||
var HARDLIGHT;
|
||||
var INVERT;
|
||||
var LAYER;
|
||||
var LIGHTEN;
|
||||
var MULTIPLY;
|
||||
var NORMAL;
|
||||
var OVERLAY;
|
||||
var SCREEN;
|
||||
var SHADER;
|
||||
var SUBTRACT;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/CapsStyle.hx
Normal file
7
Kha/Tools/macos/std/flash/display/CapsStyle.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.CapsStyle") extern enum abstract CapsStyle(String) {
|
||||
var NONE;
|
||||
var ROUND;
|
||||
var SQUARE;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/ColorCorrection.hx
Normal file
7
Kha/Tools/macos/std/flash/display/ColorCorrection.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.ColorCorrection") @:require(flash10_1) extern enum abstract ColorCorrection(String) {
|
||||
var DEFAULT;
|
||||
var OFF;
|
||||
var ON;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.ColorCorrectionSupport") @:require(flash10_1) extern enum abstract ColorCorrectionSupport(String) {
|
||||
var DEFAULT_OFF;
|
||||
var DEFAULT_ON;
|
||||
var UNSUPPORTED;
|
||||
}
|
100
Kha/Tools/macos/std/flash/display/DisplayObject.hx
Normal file
100
Kha/Tools/macos/std/flash/display/DisplayObject.hx
Normal file
@ -0,0 +1,100 @@
|
||||
package flash.display;
|
||||
|
||||
extern class DisplayObject extends flash.events.EventDispatcher implements IBitmapDrawable {
|
||||
@:flash.property var accessibilityProperties(get,set) : flash.accessibility.AccessibilityProperties;
|
||||
@:flash.property var alpha(get,set) : Float;
|
||||
@:flash.property var blendMode(get,set) : BlendMode;
|
||||
@:flash.property @:require(flash10) var blendShader(never,set) : Shader;
|
||||
@:flash.property var cacheAsBitmap(get,set) : Bool;
|
||||
@:flash.property var filters(get,set) : Array<flash.filters.BitmapFilter>;
|
||||
@:flash.property var height(get,set) : Float;
|
||||
@:flash.property var loaderInfo(get,never) : LoaderInfo;
|
||||
@:flash.property var mask(get,set) : DisplayObject;
|
||||
@:flash.property var mouseX(get,never) : Float;
|
||||
@:flash.property var mouseY(get,never) : Float;
|
||||
@:flash.property var name(get,set) : String;
|
||||
@:flash.property var opaqueBackground(get,set) : Null<UInt>;
|
||||
@:flash.property var parent(get,never) : DisplayObjectContainer;
|
||||
@:flash.property var root(get,never) : DisplayObject;
|
||||
@:flash.property var rotation(get,set) : Float;
|
||||
@:flash.property @:require(flash10) var rotationX(get,set) : Float;
|
||||
@:flash.property @:require(flash10) var rotationY(get,set) : Float;
|
||||
@:flash.property @:require(flash10) var rotationZ(get,set) : Float;
|
||||
@:flash.property var scale9Grid(get,set) : flash.geom.Rectangle;
|
||||
@:flash.property var scaleX(get,set) : Float;
|
||||
@:flash.property var scaleY(get,set) : Float;
|
||||
@:flash.property @:require(flash10) var scaleZ(get,set) : Float;
|
||||
@:flash.property var scrollRect(get,set) : flash.geom.Rectangle;
|
||||
@:flash.property var stage(get,never) : Stage;
|
||||
@:flash.property var transform(get,set) : flash.geom.Transform;
|
||||
@:flash.property var visible(get,set) : Bool;
|
||||
@:flash.property var width(get,set) : Float;
|
||||
@:flash.property var x(get,set) : Float;
|
||||
@:flash.property var y(get,set) : Float;
|
||||
@:flash.property @:require(flash10) var z(get,set) : Float;
|
||||
function getBounds(targetCoordinateSpace : DisplayObject) : flash.geom.Rectangle;
|
||||
function getRect(targetCoordinateSpace : DisplayObject) : flash.geom.Rectangle;
|
||||
private function get_accessibilityProperties() : flash.accessibility.AccessibilityProperties;
|
||||
private function get_alpha() : Float;
|
||||
private function get_blendMode() : BlendMode;
|
||||
private function get_cacheAsBitmap() : Bool;
|
||||
private function get_filters() : Array<flash.filters.BitmapFilter>;
|
||||
private function get_height() : Float;
|
||||
private function get_loaderInfo() : LoaderInfo;
|
||||
private function get_mask() : DisplayObject;
|
||||
private function get_metaData() : Dynamic;
|
||||
private function get_mouseX() : Float;
|
||||
private function get_mouseY() : Float;
|
||||
private function get_name() : String;
|
||||
private function get_opaqueBackground() : Null<UInt>;
|
||||
private function get_parent() : DisplayObjectContainer;
|
||||
private function get_root() : DisplayObject;
|
||||
private function get_rotation() : Float;
|
||||
private function get_rotationX() : Float;
|
||||
private function get_rotationY() : Float;
|
||||
private function get_rotationZ() : Float;
|
||||
private function get_scale9Grid() : flash.geom.Rectangle;
|
||||
private function get_scaleX() : Float;
|
||||
private function get_scaleY() : Float;
|
||||
private function get_scaleZ() : Float;
|
||||
private function get_scrollRect() : flash.geom.Rectangle;
|
||||
private function get_stage() : Stage;
|
||||
private function get_transform() : flash.geom.Transform;
|
||||
private function get_visible() : Bool;
|
||||
private function get_width() : Float;
|
||||
private function get_x() : Float;
|
||||
private function get_y() : Float;
|
||||
private function get_z() : Float;
|
||||
function globalToLocal(point : flash.geom.Point) : flash.geom.Point;
|
||||
@:require(flash10) function globalToLocal3D(point : flash.geom.Point) : flash.geom.Vector3D;
|
||||
function hitTestObject(obj : DisplayObject) : Bool;
|
||||
function hitTestPoint(x : Float, y : Float, shapeFlag : Bool = false) : Bool;
|
||||
@:require(flash10) function local3DToGlobal(point3d : flash.geom.Vector3D) : flash.geom.Point;
|
||||
function localToGlobal(point : flash.geom.Point) : flash.geom.Point;
|
||||
private function set_accessibilityProperties(value : flash.accessibility.AccessibilityProperties) : flash.accessibility.AccessibilityProperties;
|
||||
private function set_alpha(value : Float) : Float;
|
||||
private function set_blendMode(value : BlendMode) : BlendMode;
|
||||
private function set_blendShader(value : Shader) : Shader;
|
||||
private function set_cacheAsBitmap(value : Bool) : Bool;
|
||||
private function set_filters(value : Array<flash.filters.BitmapFilter>) : Array<flash.filters.BitmapFilter>;
|
||||
private function set_height(value : Float) : Float;
|
||||
private function set_mask(value : DisplayObject) : DisplayObject;
|
||||
private function set_metaData(value : Dynamic) : Dynamic;
|
||||
private function set_name(value : String) : String;
|
||||
private function set_opaqueBackground(value : Null<UInt>) : Null<UInt>;
|
||||
private function set_rotation(value : Float) : Float;
|
||||
private function set_rotationX(value : Float) : Float;
|
||||
private function set_rotationY(value : Float) : Float;
|
||||
private function set_rotationZ(value : Float) : Float;
|
||||
private function set_scale9Grid(value : flash.geom.Rectangle) : flash.geom.Rectangle;
|
||||
private function set_scaleX(value : Float) : Float;
|
||||
private function set_scaleY(value : Float) : Float;
|
||||
private function set_scaleZ(value : Float) : Float;
|
||||
private function set_scrollRect(value : flash.geom.Rectangle) : flash.geom.Rectangle;
|
||||
private function set_transform(value : flash.geom.Transform) : flash.geom.Transform;
|
||||
private function set_visible(value : Bool) : Bool;
|
||||
private function set_width(value : Float) : Float;
|
||||
private function set_x(value : Float) : Float;
|
||||
private function set_y(value : Float) : Float;
|
||||
private function set_z(value : Float) : Float;
|
||||
}
|
30
Kha/Tools/macos/std/flash/display/DisplayObjectContainer.hx
Normal file
30
Kha/Tools/macos/std/flash/display/DisplayObjectContainer.hx
Normal file
@ -0,0 +1,30 @@
|
||||
package flash.display;
|
||||
|
||||
extern class DisplayObjectContainer extends InteractiveObject {
|
||||
@:flash.property var mouseChildren(get,set) : Bool;
|
||||
@:flash.property var numChildren(get,never) : Int;
|
||||
@:flash.property var tabChildren(get,set) : Bool;
|
||||
@:flash.property var textSnapshot(get,never) : flash.text.TextSnapshot;
|
||||
function new() : Void;
|
||||
function addChild(child : DisplayObject) : DisplayObject;
|
||||
function addChildAt(child : DisplayObject, index : Int) : DisplayObject;
|
||||
function areInaccessibleObjectsUnderPoint(point : flash.geom.Point) : Bool;
|
||||
function contains(child : DisplayObject) : Bool;
|
||||
function getChildAt(index : Int) : DisplayObject;
|
||||
function getChildByName(name : String) : DisplayObject;
|
||||
function getChildIndex(child : DisplayObject) : Int;
|
||||
function getObjectsUnderPoint(point : flash.geom.Point) : Array<DisplayObject>;
|
||||
private function get_mouseChildren() : Bool;
|
||||
private function get_numChildren() : Int;
|
||||
private function get_tabChildren() : Bool;
|
||||
private function get_textSnapshot() : flash.text.TextSnapshot;
|
||||
function removeChild(child : DisplayObject) : DisplayObject;
|
||||
function removeChildAt(index : Int) : DisplayObject;
|
||||
@:require(flash11) function removeChildren(beginIndex : Int = 0, endIndex : Int = 2147483647) : Void;
|
||||
function setChildIndex(child : DisplayObject, index : Int) : Void;
|
||||
private function set_mouseChildren(value : Bool) : Bool;
|
||||
private function set_tabChildren(value : Bool) : Bool;
|
||||
@:require(flash11_8) function stopAllMovieClips() : Void;
|
||||
function swapChildren(child1 : DisplayObject, child2 : DisplayObject) : Void;
|
||||
function swapChildrenAt(index1 : Int, index2 : Int) : Void;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/FocusDirection.hx
Normal file
7
Kha/Tools/macos/std/flash/display/FocusDirection.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.FocusDirection") @:require(flash10_1) extern enum abstract FocusDirection(String) {
|
||||
var BOTTOM;
|
||||
var NONE;
|
||||
var TOP;
|
||||
}
|
9
Kha/Tools/macos/std/flash/display/FrameLabel.hx
Normal file
9
Kha/Tools/macos/std/flash/display/FrameLabel.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class FrameLabel extends flash.events.EventDispatcher {
|
||||
@:flash.property var frame(get,never) : Int;
|
||||
@:flash.property var name(get,never) : String;
|
||||
function new(name : String, frame : Int) : Void;
|
||||
private function get_frame() : Int;
|
||||
private function get_name() : String;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/GradientType.hx
Normal file
6
Kha/Tools/macos/std/flash/display/GradientType.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.GradientType") extern enum abstract GradientType(String) {
|
||||
var LINEAR;
|
||||
var RADIAL;
|
||||
}
|
29
Kha/Tools/macos/std/flash/display/Graphics.hx
Normal file
29
Kha/Tools/macos/std/flash/display/Graphics.hx
Normal file
@ -0,0 +1,29 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class Graphics {
|
||||
function new() : Void;
|
||||
function beginBitmapFill(bitmap : BitmapData, ?matrix : flash.geom.Matrix, repeat : Bool = true, smooth : Bool = false) : Void;
|
||||
function beginFill(color : UInt, alpha : Float = 1) : Void;
|
||||
function beginGradientFill(type : GradientType, colors : Array<UInt>, alphas : Array<Dynamic>, ratios : Array<Dynamic>, ?matrix : flash.geom.Matrix, ?spreadMethod : SpreadMethod, ?interpolationMethod : InterpolationMethod, focalPointRatio : Float = 0) : Void;
|
||||
@:require(flash10) function beginShaderFill(shader : Shader, ?matrix : flash.geom.Matrix) : Void;
|
||||
function clear() : Void;
|
||||
@:require(flash10) function copyFrom(sourceGraphics : Graphics) : Void;
|
||||
@:require(flash11) function cubicCurveTo(controlX1 : Float, controlY1 : Float, controlX2 : Float, controlY2 : Float, anchorX : Float, anchorY : Float) : Void;
|
||||
function curveTo(controlX : Float, controlY : Float, anchorX : Float, anchorY : Float) : Void;
|
||||
function drawCircle(x : Float, y : Float, radius : Float) : Void;
|
||||
function drawEllipse(x : Float, y : Float, width : Float, height : Float) : Void;
|
||||
@:require(flash10) function drawGraphicsData(graphicsData : flash.Vector<IGraphicsData>) : Void;
|
||||
@:require(flash10) function drawPath(commands : flash.Vector<Int>, data : flash.Vector<Float>, ?winding : GraphicsPathWinding) : Void;
|
||||
function drawRect(x : Float, y : Float, width : Float, height : Float) : Void;
|
||||
function drawRoundRect(x : Float, y : Float, width : Float, height : Float, ellipseWidth : Float, ellipseHeight : Null<Float> = 0) : Void;
|
||||
function drawRoundRectComplex(x : Float, y : Float, width : Float, height : Float, topLeftRadius : Float, topRightRadius : Float, bottomLeftRadius : Float, bottomRightRadius : Float) : Void;
|
||||
@:require(flash10) function drawTriangles(vertices : flash.Vector<Float>, ?indices : flash.Vector<Int>, ?uvtData : flash.Vector<Float>, ?culling : TriangleCulling) : Void;
|
||||
function endFill() : Void;
|
||||
@:require(flash10) function lineBitmapStyle(bitmap : BitmapData, ?matrix : flash.geom.Matrix, repeat : Bool = true, smooth : Bool = false) : Void;
|
||||
function lineGradientStyle(type : GradientType, colors : Array<UInt>, alphas : Array<Dynamic>, ratios : Array<Dynamic>, ?matrix : flash.geom.Matrix, ?spreadMethod : SpreadMethod, ?interpolationMethod : InterpolationMethod, focalPointRatio : Float = 0) : Void;
|
||||
@:require(flash10) function lineShaderStyle(shader : Shader, ?matrix : flash.geom.Matrix) : Void;
|
||||
function lineStyle(thickness : Null<Float> = 0, color : UInt = 0, alpha : Float = 1, pixelHinting : Bool = false, ?scaleMode : LineScaleMode, ?caps : CapsStyle, ?joints : JointStyle, miterLimit : Float = 3) : Void;
|
||||
function lineTo(x : Float, y : Float) : Void;
|
||||
function moveTo(x : Float, y : Float) : Void;
|
||||
@:require(flash11_6) function readGraphicsData(recurse : Bool = true) : flash.Vector<IGraphicsData>;
|
||||
}
|
9
Kha/Tools/macos/std/flash/display/GraphicsBitmapFill.hx
Normal file
9
Kha/Tools/macos/std/flash/display/GraphicsBitmapFill.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class GraphicsBitmapFill implements IGraphicsData implements IGraphicsFill {
|
||||
var bitmapData : BitmapData;
|
||||
var matrix : flash.geom.Matrix;
|
||||
var repeat : Bool;
|
||||
var smooth : Bool;
|
||||
function new(?bitmapData : BitmapData, ?matrix : flash.geom.Matrix, repeat : Bool = true, smooth : Bool = false) : Void;
|
||||
}
|
5
Kha/Tools/macos/std/flash/display/GraphicsEndFill.hx
Normal file
5
Kha/Tools/macos/std/flash/display/GraphicsEndFill.hx
Normal file
@ -0,0 +1,5 @@
|
||||
package flash.display;
|
||||
|
||||
extern class GraphicsEndFill implements IGraphicsData implements IGraphicsFill {
|
||||
function new() : Void;
|
||||
}
|
19
Kha/Tools/macos/std/flash/display/GraphicsGradientFill.hx
Normal file
19
Kha/Tools/macos/std/flash/display/GraphicsGradientFill.hx
Normal file
@ -0,0 +1,19 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class GraphicsGradientFill implements IGraphicsData implements IGraphicsFill {
|
||||
var alphas : Array<Float>;
|
||||
var colors : Array<UInt>;
|
||||
var focalPointRatio : Float;
|
||||
@:flash.property var interpolationMethod(get,set) : InterpolationMethod;
|
||||
var matrix : flash.geom.Matrix;
|
||||
var ratios : Array<Float>;
|
||||
@:flash.property var spreadMethod(get,set) : SpreadMethod;
|
||||
@:flash.property var type(get,set) : GradientType;
|
||||
function new(?type : GradientType, ?colors : Array<UInt>, ?alphas : Array<Float>, ?ratios : Array<Float>, ?matrix : flash.geom.Matrix, ?spreadMethod : SpreadMethod, ?interpolationMethod : InterpolationMethod, focalPointRatio : Float = 0) : Void;
|
||||
private function get_interpolationMethod() : InterpolationMethod;
|
||||
private function get_spreadMethod() : SpreadMethod;
|
||||
private function get_type() : GradientType;
|
||||
private function set_interpolationMethod(value : InterpolationMethod) : InterpolationMethod;
|
||||
private function set_spreadMethod(value : SpreadMethod) : SpreadMethod;
|
||||
private function set_type(value : GradientType) : GradientType;
|
||||
}
|
16
Kha/Tools/macos/std/flash/display/GraphicsPath.hx
Normal file
16
Kha/Tools/macos/std/flash/display/GraphicsPath.hx
Normal file
@ -0,0 +1,16 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class GraphicsPath implements IGraphicsData implements IGraphicsPath {
|
||||
var commands : flash.Vector<Int>;
|
||||
var data : flash.Vector<Float>;
|
||||
@:flash.property var winding(get,set) : GraphicsPathWinding;
|
||||
function new(?commands : flash.Vector<Int>, ?data : flash.Vector<Float>, ?winding : GraphicsPathWinding) : Void;
|
||||
@:require(flash11) function cubicCurveTo(controlX1 : Float, controlY1 : Float, controlX2 : Float, controlY2 : Float, anchorX : Float, anchorY : Float) : Void;
|
||||
function curveTo(controlX : Float, controlY : Float, anchorX : Float, anchorY : Float) : Void;
|
||||
private function get_winding() : GraphicsPathWinding;
|
||||
function lineTo(x : Float, y : Float) : Void;
|
||||
function moveTo(x : Float, y : Float) : Void;
|
||||
private function set_winding(value : GraphicsPathWinding) : GraphicsPathWinding;
|
||||
function wideLineTo(x : Float, y : Float) : Void;
|
||||
function wideMoveTo(x : Float, y : Float) : Void;
|
||||
}
|
11
Kha/Tools/macos/std/flash/display/GraphicsPathCommand.hx
Normal file
11
Kha/Tools/macos/std/flash/display/GraphicsPathCommand.hx
Normal file
@ -0,0 +1,11 @@
|
||||
package flash.display;
|
||||
|
||||
extern class GraphicsPathCommand {
|
||||
public static inline var LINE_TO = 2;
|
||||
public static inline var MOVE_TO = 1;
|
||||
public static inline var CURVE_TO = 3;
|
||||
@:require(flash11) public static inline var CUBIC_CURVE_TO = 6;
|
||||
public static inline var WIDE_LINE_TO = 5;
|
||||
public static inline var WIDE_MOVE_TO = 4;
|
||||
public static inline var NO_OP = 0;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/GraphicsPathWinding.hx
Normal file
6
Kha/Tools/macos/std/flash/display/GraphicsPathWinding.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.GraphicsPathWinding") extern enum abstract GraphicsPathWinding(String) {
|
||||
var EVEN_ODD;
|
||||
var NON_ZERO;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/GraphicsShaderFill.hx
Normal file
7
Kha/Tools/macos/std/flash/display/GraphicsShaderFill.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class GraphicsShaderFill implements IGraphicsData implements IGraphicsFill {
|
||||
var matrix : flash.geom.Matrix;
|
||||
var shader : Shader;
|
||||
function new(?shader : Shader, ?matrix : flash.geom.Matrix) : Void;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/GraphicsSolidFill.hx
Normal file
7
Kha/Tools/macos/std/flash/display/GraphicsSolidFill.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class GraphicsSolidFill implements IGraphicsData implements IGraphicsFill {
|
||||
var alpha : Float;
|
||||
var color : UInt;
|
||||
function new(color : UInt = 0, alpha : Float = 1) : Void;
|
||||
}
|
18
Kha/Tools/macos/std/flash/display/GraphicsStroke.hx
Normal file
18
Kha/Tools/macos/std/flash/display/GraphicsStroke.hx
Normal file
@ -0,0 +1,18 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class GraphicsStroke implements IGraphicsData implements IGraphicsStroke {
|
||||
@:flash.property var caps(get,set) : CapsStyle;
|
||||
var fill : IGraphicsFill;
|
||||
@:flash.property var joints(get,set) : JointStyle;
|
||||
var miterLimit : Float;
|
||||
var pixelHinting : Bool;
|
||||
@:flash.property var scaleMode(get,set) : LineScaleMode;
|
||||
var thickness : Float;
|
||||
function new(thickness : Float = 0./*NaN*/, pixelHinting : Bool = false, ?scaleMode : LineScaleMode, ?caps : CapsStyle, ?joints : JointStyle, miterLimit : Float = 3, ?fill : IGraphicsFill) : Void;
|
||||
private function get_caps() : CapsStyle;
|
||||
private function get_joints() : JointStyle;
|
||||
private function get_scaleMode() : LineScaleMode;
|
||||
private function set_caps(value : CapsStyle) : CapsStyle;
|
||||
private function set_joints(value : JointStyle) : JointStyle;
|
||||
private function set_scaleMode(value : LineScaleMode) : LineScaleMode;
|
||||
}
|
11
Kha/Tools/macos/std/flash/display/GraphicsTrianglePath.hx
Normal file
11
Kha/Tools/macos/std/flash/display/GraphicsTrianglePath.hx
Normal file
@ -0,0 +1,11 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class GraphicsTrianglePath implements IGraphicsData implements IGraphicsPath {
|
||||
@:flash.property var culling(get,set) : TriangleCulling;
|
||||
var indices : flash.Vector<Int>;
|
||||
var uvtData : flash.Vector<Float>;
|
||||
var vertices : flash.Vector<Float>;
|
||||
function new(?vertices : flash.Vector<Float>, ?indices : flash.Vector<Int>, ?uvtData : flash.Vector<Float>, ?culling : TriangleCulling) : Void;
|
||||
private function get_culling() : TriangleCulling;
|
||||
private function set_culling(value : TriangleCulling) : TriangleCulling;
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern interface IBitmapCompressOptions {
|
||||
}
|
4
Kha/Tools/macos/std/flash/display/IBitmapDrawable.hx
Normal file
4
Kha/Tools/macos/std/flash/display/IBitmapDrawable.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern interface IBitmapDrawable {
|
||||
}
|
4
Kha/Tools/macos/std/flash/display/IDrawCommand.hx
Normal file
4
Kha/Tools/macos/std/flash/display/IDrawCommand.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern interface IDrawCommand {
|
||||
}
|
4
Kha/Tools/macos/std/flash/display/IGraphicsData.hx
Normal file
4
Kha/Tools/macos/std/flash/display/IGraphicsData.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern interface IGraphicsData {
|
||||
}
|
4
Kha/Tools/macos/std/flash/display/IGraphicsFill.hx
Normal file
4
Kha/Tools/macos/std/flash/display/IGraphicsFill.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern interface IGraphicsFill {
|
||||
}
|
4
Kha/Tools/macos/std/flash/display/IGraphicsPath.hx
Normal file
4
Kha/Tools/macos/std/flash/display/IGraphicsPath.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern interface IGraphicsPath {
|
||||
}
|
4
Kha/Tools/macos/std/flash/display/IGraphicsStroke.hx
Normal file
4
Kha/Tools/macos/std/flash/display/IGraphicsStroke.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern interface IGraphicsStroke {
|
||||
}
|
33
Kha/Tools/macos/std/flash/display/InteractiveObject.hx
Normal file
33
Kha/Tools/macos/std/flash/display/InteractiveObject.hx
Normal file
@ -0,0 +1,33 @@
|
||||
package flash.display;
|
||||
|
||||
extern class InteractiveObject extends DisplayObject {
|
||||
@:flash.property var accessibilityImplementation(get,set) : flash.accessibility.AccessibilityImplementation;
|
||||
@:flash.property var contextMenu(get,set) : flash.ui.ContextMenu;
|
||||
@:flash.property var doubleClickEnabled(get,set) : Bool;
|
||||
@:flash.property var focusRect(get,set) : Dynamic;
|
||||
@:flash.property var mouseEnabled(get,set) : Bool;
|
||||
@:flash.property @:require(flash11) var needsSoftKeyboard(get,set) : Bool;
|
||||
@:flash.property @:require(flash11) var softKeyboardInputAreaOfInterest(get,set) : flash.geom.Rectangle;
|
||||
@:flash.property var tabEnabled(get,set) : Bool;
|
||||
@:flash.property var tabIndex(get,set) : Int;
|
||||
function new() : Void;
|
||||
private function get_accessibilityImplementation() : flash.accessibility.AccessibilityImplementation;
|
||||
private function get_contextMenu() : flash.ui.ContextMenu;
|
||||
private function get_doubleClickEnabled() : Bool;
|
||||
private function get_focusRect() : Dynamic;
|
||||
private function get_mouseEnabled() : Bool;
|
||||
private function get_needsSoftKeyboard() : Bool;
|
||||
private function get_softKeyboardInputAreaOfInterest() : flash.geom.Rectangle;
|
||||
private function get_tabEnabled() : Bool;
|
||||
private function get_tabIndex() : Int;
|
||||
@:require(flash11) function requestSoftKeyboard() : Bool;
|
||||
private function set_accessibilityImplementation(value : flash.accessibility.AccessibilityImplementation) : flash.accessibility.AccessibilityImplementation;
|
||||
private function set_contextMenu(value : flash.ui.ContextMenu) : flash.ui.ContextMenu;
|
||||
private function set_doubleClickEnabled(value : Bool) : Bool;
|
||||
private function set_focusRect(value : Dynamic) : Dynamic;
|
||||
private function set_mouseEnabled(value : Bool) : Bool;
|
||||
private function set_needsSoftKeyboard(value : Bool) : Bool;
|
||||
private function set_softKeyboardInputAreaOfInterest(value : flash.geom.Rectangle) : flash.geom.Rectangle;
|
||||
private function set_tabEnabled(value : Bool) : Bool;
|
||||
private function set_tabIndex(value : Int) : Int;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/InterpolationMethod.hx
Normal file
6
Kha/Tools/macos/std/flash/display/InterpolationMethod.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.InterpolationMethod") extern enum abstract InterpolationMethod(String) {
|
||||
var LINEAR_RGB;
|
||||
var RGB;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/JPEGCompressOptions.hx
Normal file
6
Kha/Tools/macos/std/flash/display/JPEGCompressOptions.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class JPEGCompressOptions implements IBitmapCompressOptions {
|
||||
var quality : UInt;
|
||||
function new(quality : UInt = 80) : Void;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/JPEGEncoderOptions.hx
Normal file
6
Kha/Tools/macos/std/flash/display/JPEGEncoderOptions.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class JPEGEncoderOptions {
|
||||
var quality : UInt;
|
||||
function new(quality : UInt = 80) : Void;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class JPEGXRCompressOptions implements IBitmapCompressOptions {
|
||||
var colorSpace : String;
|
||||
var quantization : UInt;
|
||||
var trimFlexBits : UInt;
|
||||
function new(quantization : UInt = 20, ?colorSpace : String, trimFlexBits : UInt = 0) : Void;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class JPEGXREncoderOptions {
|
||||
var colorSpace : BitmapEncodingColorSpace;
|
||||
var quantization : UInt;
|
||||
var trimFlexBits : UInt;
|
||||
function new(quantization : UInt = 20, ?colorSpace : BitmapEncodingColorSpace, trimFlexBits : UInt = 0) : Void;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/JointStyle.hx
Normal file
7
Kha/Tools/macos/std/flash/display/JointStyle.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.JointStyle") extern enum abstract JointStyle(String) {
|
||||
var BEVEL;
|
||||
var MITER;
|
||||
var ROUND;
|
||||
}
|
8
Kha/Tools/macos/std/flash/display/LineScaleMode.hx
Normal file
8
Kha/Tools/macos/std/flash/display/LineScaleMode.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.LineScaleMode") extern enum abstract LineScaleMode(String) {
|
||||
var HORIZONTAL;
|
||||
var NONE;
|
||||
var NORMAL;
|
||||
var VERTICAL;
|
||||
}
|
16
Kha/Tools/macos/std/flash/display/Loader.hx
Normal file
16
Kha/Tools/macos/std/flash/display/Loader.hx
Normal file
@ -0,0 +1,16 @@
|
||||
package flash.display;
|
||||
|
||||
extern class Loader extends DisplayObjectContainer {
|
||||
@:flash.property var content(get,never) : DisplayObject;
|
||||
@:flash.property var contentLoaderInfo(get,never) : LoaderInfo;
|
||||
@:flash.property @:require(flash10_1) var uncaughtErrorEvents(get,never) : flash.events.UncaughtErrorEvents;
|
||||
function new() : Void;
|
||||
function close() : Void;
|
||||
private function get_content() : DisplayObject;
|
||||
private function get_contentLoaderInfo() : LoaderInfo;
|
||||
private function get_uncaughtErrorEvents() : flash.events.UncaughtErrorEvents;
|
||||
function load(request : flash.net.URLRequest, ?context : flash.system.LoaderContext) : Void;
|
||||
function loadBytes(bytes : flash.utils.ByteArray, ?context : flash.system.LoaderContext) : Void;
|
||||
function unload() : Void;
|
||||
@:require(flash10) function unloadAndStop(gc : Bool = true) : Void;
|
||||
}
|
53
Kha/Tools/macos/std/flash/display/LoaderInfo.hx
Normal file
53
Kha/Tools/macos/std/flash/display/LoaderInfo.hx
Normal file
@ -0,0 +1,53 @@
|
||||
package flash.display;
|
||||
|
||||
extern class LoaderInfo extends flash.events.EventDispatcher {
|
||||
@:flash.property var actionScriptVersion(get,never) : ActionScriptVersion;
|
||||
@:flash.property var applicationDomain(get,never) : flash.system.ApplicationDomain;
|
||||
@:flash.property var bytes(get,never) : flash.utils.ByteArray;
|
||||
@:flash.property var bytesLoaded(get,never) : UInt;
|
||||
@:flash.property var bytesTotal(get,never) : UInt;
|
||||
@:flash.property var childAllowsParent(get,never) : Bool;
|
||||
@:flash.property @:require(flash11_4) var childSandboxBridge(get,set) : Dynamic;
|
||||
@:flash.property var content(get,never) : DisplayObject;
|
||||
@:flash.property var contentType(get,never) : String;
|
||||
@:flash.property var frameRate(get,never) : Float;
|
||||
@:flash.property var height(get,never) : Int;
|
||||
@:flash.property @:require(flash10_1) var isURLInaccessible(get,never) : Bool;
|
||||
@:flash.property var loader(get,never) : Loader;
|
||||
@:flash.property var loaderURL(get,never) : String;
|
||||
@:flash.property var parameters(get,never) : Dynamic<String>;
|
||||
@:flash.property var parentAllowsChild(get,never) : Bool;
|
||||
@:flash.property @:require(flash11_4) var parentSandboxBridge(get,set) : Dynamic;
|
||||
@:flash.property var sameDomain(get,never) : Bool;
|
||||
@:flash.property var sharedEvents(get,never) : flash.events.EventDispatcher;
|
||||
@:flash.property var swfVersion(get,never) : UInt;
|
||||
@:flash.property @:require(flash10_1) var uncaughtErrorEvents(get,never) : flash.events.UncaughtErrorEvents;
|
||||
@:flash.property var url(get,never) : String;
|
||||
@:flash.property var width(get,never) : Int;
|
||||
private function get_actionScriptVersion() : ActionScriptVersion;
|
||||
private function get_applicationDomain() : flash.system.ApplicationDomain;
|
||||
private function get_bytes() : flash.utils.ByteArray;
|
||||
private function get_bytesLoaded() : UInt;
|
||||
private function get_bytesTotal() : UInt;
|
||||
private function get_childAllowsParent() : Bool;
|
||||
private function get_childSandboxBridge() : Dynamic;
|
||||
private function get_content() : DisplayObject;
|
||||
private function get_contentType() : String;
|
||||
private function get_frameRate() : Float;
|
||||
private function get_height() : Int;
|
||||
private function get_isURLInaccessible() : Bool;
|
||||
private function get_loader() : Loader;
|
||||
private function get_loaderURL() : String;
|
||||
private function get_parameters() : Dynamic<String>;
|
||||
private function get_parentAllowsChild() : Bool;
|
||||
private function get_parentSandboxBridge() : Dynamic;
|
||||
private function get_sameDomain() : Bool;
|
||||
private function get_sharedEvents() : flash.events.EventDispatcher;
|
||||
private function get_swfVersion() : UInt;
|
||||
private function get_uncaughtErrorEvents() : flash.events.UncaughtErrorEvents;
|
||||
private function get_url() : String;
|
||||
private function get_width() : Int;
|
||||
private function set_childSandboxBridge(value : Dynamic) : Dynamic;
|
||||
private function set_parentSandboxBridge(value : Dynamic) : Dynamic;
|
||||
static function getLoaderInfoByDefinition(object : Dynamic) : LoaderInfo;
|
||||
}
|
4
Kha/Tools/macos/std/flash/display/MorphShape.hx
Normal file
4
Kha/Tools/macos/std/flash/display/MorphShape.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.display;
|
||||
|
||||
extern class MorphShape extends DisplayObject {
|
||||
}
|
38
Kha/Tools/macos/std/flash/display/MovieClip.hx
Normal file
38
Kha/Tools/macos/std/flash/display/MovieClip.hx
Normal file
@ -0,0 +1,38 @@
|
||||
package flash.display;
|
||||
|
||||
extern class MovieClip extends Sprite #if !flash_strict implements Dynamic #end {
|
||||
@:flash.property var currentFrame(get,never) : Int;
|
||||
@:flash.property @:require(flash10) var currentFrameLabel(get,never) : String;
|
||||
@:flash.property var currentLabel(get,never) : String;
|
||||
@:flash.property var currentLabels(get,never) : Array<FrameLabel>;
|
||||
@:flash.property var currentScene(get,never) : Scene;
|
||||
@:flash.property var enabled(get,set) : Bool;
|
||||
@:flash.property var framesLoaded(get,never) : Int;
|
||||
@:flash.property @:require(flash11) var isPlaying(get,never) : Bool;
|
||||
@:flash.property var scenes(get,never) : Array<Scene>;
|
||||
@:flash.property var totalFrames(get,never) : Int;
|
||||
@:flash.property var trackAsMenu(get,set) : Bool;
|
||||
function new() : Void;
|
||||
function addFrameScript(restArgs : haxe.extern.Rest<Dynamic>) : Void;
|
||||
private function get_currentFrame() : Int;
|
||||
private function get_currentFrameLabel() : String;
|
||||
private function get_currentLabel() : String;
|
||||
private function get_currentLabels() : Array<FrameLabel>;
|
||||
private function get_currentScene() : Scene;
|
||||
private function get_enabled() : Bool;
|
||||
private function get_framesLoaded() : Int;
|
||||
private function get_isPlaying() : Bool;
|
||||
private function get_scenes() : Array<Scene>;
|
||||
private function get_totalFrames() : Int;
|
||||
private function get_trackAsMenu() : Bool;
|
||||
function gotoAndPlay(frame : flash.utils.Object, ?scene : String) : Void;
|
||||
function gotoAndStop(frame : flash.utils.Object, ?scene : String) : Void;
|
||||
function nextFrame() : Void;
|
||||
function nextScene() : Void;
|
||||
function play() : Void;
|
||||
function prevFrame() : Void;
|
||||
function prevScene() : Void;
|
||||
private function set_enabled(value : Bool) : Bool;
|
||||
private function set_trackAsMenu(value : Bool) : Bool;
|
||||
function stop() : Void;
|
||||
}
|
5
Kha/Tools/macos/std/flash/display/NativeMenu.hx
Normal file
5
Kha/Tools/macos/std/flash/display/NativeMenu.hx
Normal file
@ -0,0 +1,5 @@
|
||||
package flash.display;
|
||||
|
||||
@:require(flash10_1) extern class NativeMenu extends flash.events.EventDispatcher {
|
||||
function new() : Void;
|
||||
}
|
8
Kha/Tools/macos/std/flash/display/NativeMenuItem.hx
Normal file
8
Kha/Tools/macos/std/flash/display/NativeMenuItem.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
@:require(flash10_1) extern class NativeMenuItem extends flash.events.EventDispatcher {
|
||||
@:flash.property var enabled(get,set) : Bool;
|
||||
function new() : Void;
|
||||
private function get_enabled() : Bool;
|
||||
private function set_enabled(value : Bool) : Bool;
|
||||
}
|
5
Kha/Tools/macos/std/flash/display/PNGCompressOptions.hx
Normal file
5
Kha/Tools/macos/std/flash/display/PNGCompressOptions.hx
Normal file
@ -0,0 +1,5 @@
|
||||
package flash.display;
|
||||
|
||||
extern class PNGCompressOptions implements IBitmapCompressOptions {
|
||||
function new() : Void;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/PNGEncoderOptions.hx
Normal file
6
Kha/Tools/macos/std/flash/display/PNGEncoderOptions.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class PNGEncoderOptions {
|
||||
var fastCompression : Bool;
|
||||
function new(fastCompression : Bool = false) : Void;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/PixelSnapping.hx
Normal file
7
Kha/Tools/macos/std/flash/display/PixelSnapping.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.PixelSnapping") extern enum abstract PixelSnapping(String) {
|
||||
var ALWAYS;
|
||||
var AUTO;
|
||||
var NEVER;
|
||||
}
|
16
Kha/Tools/macos/std/flash/display/SWFVersion.hx
Normal file
16
Kha/Tools/macos/std/flash/display/SWFVersion.hx
Normal file
@ -0,0 +1,16 @@
|
||||
package flash.display;
|
||||
|
||||
extern class SWFVersion {
|
||||
static final FLASH1 : UInt;
|
||||
static final FLASH10 : UInt;
|
||||
static final FLASH11 : UInt;
|
||||
static final FLASH12 : UInt;
|
||||
static final FLASH2 : UInt;
|
||||
static final FLASH3 : UInt;
|
||||
static final FLASH4 : UInt;
|
||||
static final FLASH5 : UInt;
|
||||
static final FLASH6 : UInt;
|
||||
static final FLASH7 : UInt;
|
||||
static final FLASH8 : UInt;
|
||||
static final FLASH9 : UInt;
|
||||
}
|
11
Kha/Tools/macos/std/flash/display/Scene.hx
Normal file
11
Kha/Tools/macos/std/flash/display/Scene.hx
Normal file
@ -0,0 +1,11 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class Scene {
|
||||
@:flash.property var labels(get,never) : Array<FrameLabel>;
|
||||
@:flash.property var name(get,never) : String;
|
||||
@:flash.property var numFrames(get,never) : Int;
|
||||
function new(name : String, labels : Array<FrameLabel>, numFrames : Int) : Void;
|
||||
private function get_labels() : Array<FrameLabel>;
|
||||
private function get_name() : String;
|
||||
private function get_numFrames() : Int;
|
||||
}
|
13
Kha/Tools/macos/std/flash/display/Shader.hx
Normal file
13
Kha/Tools/macos/std/flash/display/Shader.hx
Normal file
@ -0,0 +1,13 @@
|
||||
package flash.display;
|
||||
|
||||
@:require(flash10) extern class Shader {
|
||||
@:flash.property var byteCode(never,set) : flash.utils.ByteArray;
|
||||
@:flash.property var data(get,set) : ShaderData;
|
||||
@:flash.property var precisionHint(get,set) : ShaderPrecision;
|
||||
function new(?code : flash.utils.ByteArray) : Void;
|
||||
private function get_data() : ShaderData;
|
||||
private function get_precisionHint() : ShaderPrecision;
|
||||
private function set_byteCode(value : flash.utils.ByteArray) : flash.utils.ByteArray;
|
||||
private function set_data(value : ShaderData) : ShaderData;
|
||||
private function set_precisionHint(value : ShaderPrecision) : ShaderPrecision;
|
||||
}
|
5
Kha/Tools/macos/std/flash/display/ShaderData.hx
Normal file
5
Kha/Tools/macos/std/flash/display/ShaderData.hx
Normal file
@ -0,0 +1,5 @@
|
||||
package flash.display;
|
||||
|
||||
extern class ShaderData implements Dynamic {
|
||||
function new(byteCode : flash.utils.ByteArray) : Void;
|
||||
}
|
18
Kha/Tools/macos/std/flash/display/ShaderInput.hx
Normal file
18
Kha/Tools/macos/std/flash/display/ShaderInput.hx
Normal file
@ -0,0 +1,18 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class ShaderInput implements Dynamic {
|
||||
@:flash.property var channels(get,never) : Int;
|
||||
@:flash.property var height(get,set) : Int;
|
||||
@:flash.property var index(get,never) : Int;
|
||||
@:flash.property var input(get,set) : Dynamic;
|
||||
@:flash.property var width(get,set) : Int;
|
||||
function new() : Void;
|
||||
private function get_channels() : Int;
|
||||
private function get_height() : Int;
|
||||
private function get_index() : Int;
|
||||
private function get_input() : Dynamic;
|
||||
private function get_width() : Int;
|
||||
private function set_height(value : Int) : Int;
|
||||
private function set_input(value : Dynamic) : Dynamic;
|
||||
private function set_width(value : Int) : Int;
|
||||
}
|
21
Kha/Tools/macos/std/flash/display/ShaderJob.hx
Normal file
21
Kha/Tools/macos/std/flash/display/ShaderJob.hx
Normal file
@ -0,0 +1,21 @@
|
||||
package flash.display;
|
||||
|
||||
extern class ShaderJob extends flash.events.EventDispatcher {
|
||||
@:flash.property var height(get,set) : Int;
|
||||
@:flash.property var progress(get,never) : Float;
|
||||
@:flash.property var shader(get,set) : Shader;
|
||||
@:flash.property var target(get,set) : Dynamic;
|
||||
@:flash.property var width(get,set) : Int;
|
||||
function new(?shader : Shader, ?target : Dynamic, width : Int = 0, height : Int = 0) : Void;
|
||||
function cancel() : Void;
|
||||
private function get_height() : Int;
|
||||
private function get_progress() : Float;
|
||||
private function get_shader() : Shader;
|
||||
private function get_target() : Dynamic;
|
||||
private function get_width() : Int;
|
||||
private function set_height(value : Int) : Int;
|
||||
private function set_shader(value : Shader) : Shader;
|
||||
private function set_target(value : Dynamic) : Dynamic;
|
||||
private function set_width(value : Int) : Int;
|
||||
function start(waitForCompletion : Bool = false) : Void;
|
||||
}
|
11
Kha/Tools/macos/std/flash/display/ShaderParameter.hx
Normal file
11
Kha/Tools/macos/std/flash/display/ShaderParameter.hx
Normal file
@ -0,0 +1,11 @@
|
||||
package flash.display;
|
||||
|
||||
extern final class ShaderParameter implements Dynamic {
|
||||
@:flash.property var index(get,never) : Int;
|
||||
@:flash.property var type(get,never) : ShaderParameterType;
|
||||
@:flash.property var value(get,set) : Array<Dynamic>;
|
||||
private function get_index() : Int;
|
||||
private function get_type() : ShaderParameterType;
|
||||
private function get_value() : Array<Dynamic>;
|
||||
private function set_value(value : Array<Dynamic>) : Array<Dynamic>;
|
||||
}
|
19
Kha/Tools/macos/std/flash/display/ShaderParameterType.hx
Normal file
19
Kha/Tools/macos/std/flash/display/ShaderParameterType.hx
Normal file
@ -0,0 +1,19 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.ShaderParameterType") extern enum abstract ShaderParameterType(String) {
|
||||
var BOOL;
|
||||
var BOOL2;
|
||||
var BOOL3;
|
||||
var BOOL4;
|
||||
var FLOAT;
|
||||
var FLOAT2;
|
||||
var FLOAT3;
|
||||
var FLOAT4;
|
||||
var INT;
|
||||
var INT2;
|
||||
var INT3;
|
||||
var INT4;
|
||||
var MATRIX2X2;
|
||||
var MATRIX3X3;
|
||||
var MATRIX4X4;
|
||||
}
|
6
Kha/Tools/macos/std/flash/display/ShaderPrecision.hx
Normal file
6
Kha/Tools/macos/std/flash/display/ShaderPrecision.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.ShaderPrecision") extern enum abstract ShaderPrecision(String) {
|
||||
var FAST;
|
||||
var FULL;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/Shape.hx
Normal file
7
Kha/Tools/macos/std/flash/display/Shape.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
extern class Shape extends DisplayObject {
|
||||
@:flash.property var graphics(get,never) : Graphics;
|
||||
function new() : Void;
|
||||
private function get_graphics() : Graphics;
|
||||
}
|
29
Kha/Tools/macos/std/flash/display/SimpleButton.hx
Normal file
29
Kha/Tools/macos/std/flash/display/SimpleButton.hx
Normal file
@ -0,0 +1,29 @@
|
||||
package flash.display;
|
||||
|
||||
extern class SimpleButton extends InteractiveObject {
|
||||
@:flash.property var downState(get,set) : DisplayObject;
|
||||
@:flash.property var enabled(get,set) : Bool;
|
||||
@:flash.property var hitTestState(get,set) : DisplayObject;
|
||||
@:flash.property var overState(get,set) : DisplayObject;
|
||||
@:flash.property var soundTransform(get,set) : flash.media.SoundTransform;
|
||||
@:flash.property var trackAsMenu(get,set) : Bool;
|
||||
@:flash.property var upState(get,set) : DisplayObject;
|
||||
@:flash.property var useHandCursor(get,set) : Bool;
|
||||
function new(?upState : DisplayObject, ?overState : DisplayObject, ?downState : DisplayObject, ?hitTestState : DisplayObject) : Void;
|
||||
private function get_downState() : DisplayObject;
|
||||
private function get_enabled() : Bool;
|
||||
private function get_hitTestState() : DisplayObject;
|
||||
private function get_overState() : DisplayObject;
|
||||
private function get_soundTransform() : flash.media.SoundTransform;
|
||||
private function get_trackAsMenu() : Bool;
|
||||
private function get_upState() : DisplayObject;
|
||||
private function get_useHandCursor() : Bool;
|
||||
private function set_downState(value : DisplayObject) : DisplayObject;
|
||||
private function set_enabled(value : Bool) : Bool;
|
||||
private function set_hitTestState(value : DisplayObject) : DisplayObject;
|
||||
private function set_overState(value : DisplayObject) : DisplayObject;
|
||||
private function set_soundTransform(value : flash.media.SoundTransform) : flash.media.SoundTransform;
|
||||
private function set_trackAsMenu(value : Bool) : Bool;
|
||||
private function set_upState(value : DisplayObject) : DisplayObject;
|
||||
private function set_useHandCursor(value : Bool) : Bool;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/SpreadMethod.hx
Normal file
7
Kha/Tools/macos/std/flash/display/SpreadMethod.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.SpreadMethod") extern enum abstract SpreadMethod(String) {
|
||||
var PAD;
|
||||
var REFLECT;
|
||||
var REPEAT;
|
||||
}
|
25
Kha/Tools/macos/std/flash/display/Sprite.hx
Normal file
25
Kha/Tools/macos/std/flash/display/Sprite.hx
Normal file
@ -0,0 +1,25 @@
|
||||
package flash.display;
|
||||
|
||||
extern class Sprite extends DisplayObjectContainer {
|
||||
@:flash.property var buttonMode(get,set) : Bool;
|
||||
@:flash.property var dropTarget(get,never) : DisplayObject;
|
||||
@:flash.property var graphics(get,never) : Graphics;
|
||||
@:flash.property var hitArea(get,set) : Sprite;
|
||||
@:flash.property var soundTransform(get,set) : flash.media.SoundTransform;
|
||||
@:flash.property var useHandCursor(get,set) : Bool;
|
||||
function new() : Void;
|
||||
private function get_buttonMode() : Bool;
|
||||
private function get_dropTarget() : DisplayObject;
|
||||
private function get_graphics() : Graphics;
|
||||
private function get_hitArea() : Sprite;
|
||||
private function get_soundTransform() : flash.media.SoundTransform;
|
||||
private function get_useHandCursor() : Bool;
|
||||
private function set_buttonMode(value : Bool) : Bool;
|
||||
private function set_hitArea(value : Sprite) : Sprite;
|
||||
private function set_soundTransform(value : flash.media.SoundTransform) : flash.media.SoundTransform;
|
||||
private function set_useHandCursor(value : Bool) : Bool;
|
||||
function startDrag(lockCenter : Bool = false, ?bounds : flash.geom.Rectangle) : Void;
|
||||
@:require(flash10_1) function startTouchDrag(touchPointID : Int, lockCenter : Bool = false, ?bounds : flash.geom.Rectangle) : Void;
|
||||
function stopDrag() : Void;
|
||||
@:require(flash10_1) function stopTouchDrag(touchPointID : Int) : Void;
|
||||
}
|
74
Kha/Tools/macos/std/flash/display/Stage.hx
Normal file
74
Kha/Tools/macos/std/flash/display/Stage.hx
Normal file
@ -0,0 +1,74 @@
|
||||
package flash.display;
|
||||
|
||||
extern class Stage extends DisplayObjectContainer {
|
||||
@:flash.property var align(get,set) : StageAlign;
|
||||
@:flash.property var allowsFullScreen(get,never) : Bool;
|
||||
@:flash.property @:require(flash11_3) var allowsFullScreenInteractive(get,never) : Bool;
|
||||
@:flash.property var browserZoomFactor(get,never) : Float;
|
||||
@:flash.property @:require(flash10_2) var color(get,set) : UInt;
|
||||
@:flash.property @:require(flash10) var colorCorrection(get,set) : ColorCorrection;
|
||||
@:flash.property @:require(flash10) var colorCorrectionSupport(get,never) : ColorCorrectionSupport;
|
||||
@:flash.property @:require(flash11_4) var contentsScaleFactor(get,never) : Float;
|
||||
@:flash.property @:require(flash11) var displayContextInfo(get,never) : String;
|
||||
@:flash.property var displayState(get,set) : StageDisplayState;
|
||||
@:flash.property var focus(get,set) : InteractiveObject;
|
||||
@:flash.property var frameRate(get,set) : Float;
|
||||
@:flash.property var fullScreenHeight(get,never) : UInt;
|
||||
@:flash.property var fullScreenSourceRect(get,set) : flash.geom.Rectangle;
|
||||
@:flash.property var fullScreenWidth(get,never) : UInt;
|
||||
@:flash.property @:require(flash11_2) var mouseLock(get,set) : Bool;
|
||||
@:flash.property var quality(get,set) : StageQuality;
|
||||
@:flash.property var scaleMode(get,set) : StageScaleMode;
|
||||
@:flash.property var showDefaultContextMenu(get,set) : Bool;
|
||||
@:flash.property @:require(flash11) var softKeyboardRect(get,never) : flash.geom.Rectangle;
|
||||
@:flash.property @:require(flash11) var stage3Ds(get,never) : flash.Vector<Stage3D>;
|
||||
@:flash.property var stageFocusRect(get,set) : Bool;
|
||||
@:flash.property var stageHeight(get,set) : Int;
|
||||
@:flash.property @:require(flash10_2) var stageVideos(get,never) : flash.Vector<flash.media.StageVideo>;
|
||||
@:flash.property var stageWidth(get,set) : Int;
|
||||
@:flash.property @:require(flash10_1) var wmodeGPU(get,never) : Bool;
|
||||
private function get_align() : StageAlign;
|
||||
private function get_allowsFullScreen() : Bool;
|
||||
private function get_allowsFullScreenInteractive() : Bool;
|
||||
private function get_browserZoomFactor() : Float;
|
||||
private function get_color() : UInt;
|
||||
private function get_colorCorrection() : ColorCorrection;
|
||||
private function get_colorCorrectionSupport() : ColorCorrectionSupport;
|
||||
private function get_constructor() : Dynamic;
|
||||
private function get_contentsScaleFactor() : Float;
|
||||
private function get_displayContextInfo() : String;
|
||||
private function get_displayState() : StageDisplayState;
|
||||
private function get_focus() : InteractiveObject;
|
||||
private function get_frameRate() : Float;
|
||||
private function get_fullScreenHeight() : UInt;
|
||||
private function get_fullScreenSourceRect() : flash.geom.Rectangle;
|
||||
private function get_fullScreenWidth() : UInt;
|
||||
private function get_mouseLock() : Bool;
|
||||
private function get_quality() : StageQuality;
|
||||
private function get_scaleMode() : StageScaleMode;
|
||||
private function get_showDefaultContextMenu() : Bool;
|
||||
private function get_softKeyboardRect() : flash.geom.Rectangle;
|
||||
private function get_stage3Ds() : flash.Vector<Stage3D>;
|
||||
private function get_stageFocusRect() : Bool;
|
||||
private function get_stageHeight() : Int;
|
||||
private function get_stageVideos() : flash.Vector<flash.media.StageVideo>;
|
||||
private function get_stageWidth() : Int;
|
||||
private function get_wmodeGPU() : Bool;
|
||||
function invalidate() : Void;
|
||||
function isFocusInaccessible() : Bool;
|
||||
private function set_align(value : StageAlign) : StageAlign;
|
||||
private function set_color(value : UInt) : UInt;
|
||||
private function set_colorCorrection(value : ColorCorrection) : ColorCorrection;
|
||||
private function set_constructor(value : Dynamic) : Dynamic;
|
||||
private function set_displayState(value : StageDisplayState) : StageDisplayState;
|
||||
private function set_focus(value : InteractiveObject) : InteractiveObject;
|
||||
private function set_frameRate(value : Float) : Float;
|
||||
private function set_fullScreenSourceRect(value : flash.geom.Rectangle) : flash.geom.Rectangle;
|
||||
private function set_mouseLock(value : Bool) : Bool;
|
||||
private function set_quality(value : StageQuality) : StageQuality;
|
||||
private function set_scaleMode(value : StageScaleMode) : StageScaleMode;
|
||||
private function set_showDefaultContextMenu(value : Bool) : Bool;
|
||||
private function set_stageFocusRect(value : Bool) : Bool;
|
||||
private function set_stageHeight(value : Int) : Int;
|
||||
private function set_stageWidth(value : Int) : Int;
|
||||
}
|
17
Kha/Tools/macos/std/flash/display/Stage3D.hx
Normal file
17
Kha/Tools/macos/std/flash/display/Stage3D.hx
Normal file
@ -0,0 +1,17 @@
|
||||
package flash.display;
|
||||
|
||||
@:require(flash11) extern class Stage3D extends flash.events.EventDispatcher {
|
||||
@:flash.property var context3D(get,never) : flash.display3D.Context3D;
|
||||
@:flash.property var visible(get,set) : Bool;
|
||||
@:flash.property var x(get,set) : Float;
|
||||
@:flash.property var y(get,set) : Float;
|
||||
private function get_context3D() : flash.display3D.Context3D;
|
||||
private function get_visible() : Bool;
|
||||
private function get_x() : Float;
|
||||
private function get_y() : Float;
|
||||
function requestContext3D(?context3DRenderMode : String, ?profile : flash.display3D.Context3DProfile) : Void;
|
||||
@:require(flash12) function requestContext3DMatchingProfiles(profiles : flash.Vector<String>) : Void;
|
||||
private function set_visible(value : Bool) : Bool;
|
||||
private function set_x(value : Float) : Float;
|
||||
private function set_y(value : Float) : Float;
|
||||
}
|
12
Kha/Tools/macos/std/flash/display/StageAlign.hx
Normal file
12
Kha/Tools/macos/std/flash/display/StageAlign.hx
Normal file
@ -0,0 +1,12 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.StageAlign") extern enum abstract StageAlign(String) {
|
||||
var BOTTOM;
|
||||
var BOTTOM_LEFT;
|
||||
var BOTTOM_RIGHT;
|
||||
var LEFT;
|
||||
var RIGHT;
|
||||
var TOP;
|
||||
var TOP_LEFT;
|
||||
var TOP_RIGHT;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/StageDisplayState.hx
Normal file
7
Kha/Tools/macos/std/flash/display/StageDisplayState.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.StageDisplayState") extern enum abstract StageDisplayState(String) {
|
||||
var FULL_SCREEN;
|
||||
var FULL_SCREEN_INTERACTIVE;
|
||||
var NORMAL;
|
||||
}
|
12
Kha/Tools/macos/std/flash/display/StageQuality.hx
Normal file
12
Kha/Tools/macos/std/flash/display/StageQuality.hx
Normal file
@ -0,0 +1,12 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.StageQuality") extern enum abstract StageQuality(String) {
|
||||
var BEST;
|
||||
var HIGH;
|
||||
var HIGH_16X16;
|
||||
var HIGH_16X16_LINEAR;
|
||||
var HIGH_8X8;
|
||||
var HIGH_8X8_LINEAR;
|
||||
var LOW;
|
||||
var MEDIUM;
|
||||
}
|
8
Kha/Tools/macos/std/flash/display/StageScaleMode.hx
Normal file
8
Kha/Tools/macos/std/flash/display/StageScaleMode.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.StageScaleMode") extern enum abstract StageScaleMode(String) {
|
||||
var EXACT_FIT;
|
||||
var NO_BORDER;
|
||||
var NO_SCALE;
|
||||
var SHOW_ALL;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/StageWorker.hx
Normal file
7
Kha/Tools/macos/std/flash/display/StageWorker.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:require(flash11_2) extern final class StageWorker extends Sprite {
|
||||
var scaleMode : String;
|
||||
var viewport : flash.geom.Rectangle;
|
||||
function new() : Void;
|
||||
}
|
7
Kha/Tools/macos/std/flash/display/TriangleCulling.hx
Normal file
7
Kha/Tools/macos/std/flash/display/TriangleCulling.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.display;
|
||||
|
||||
@:native("flash.display.TriangleCulling") extern enum abstract TriangleCulling(String) {
|
||||
var NEGATIVE;
|
||||
var NONE;
|
||||
var POSITIVE;
|
||||
}
|
9
Kha/Tools/macos/std/flash/display/Worker.hx
Normal file
9
Kha/Tools/macos/std/flash/display/Worker.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package flash.display;
|
||||
|
||||
@:require(flash11_2) extern final class Worker extends flash.events.EventDispatcher {
|
||||
var running(default,null) : Bool;
|
||||
var view(default,null) : StageWorker;
|
||||
function new() : Void;
|
||||
function load(request : flash.net.URLRequest) : Void;
|
||||
function unload() : Void;
|
||||
}
|
Reference in New Issue
Block a user