forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
package flash.automation;
|
||||
|
||||
@:require(flash10_1) extern class ActionGenerator {
|
||||
function new() : Void;
|
||||
function generateAction(action : AutomationAction) : Void;
|
||||
function generateActions(a : Array<Dynamic>) : Void;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package flash.automation;
|
||||
|
||||
@:require(flash10_1) extern class AutomationAction {
|
||||
@:flash.property var type(get,set) : String;
|
||||
function new() : Void;
|
||||
private function get_type() : String;
|
||||
private function set_type(value : String) : String;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package flash.automation;
|
||||
|
||||
@:require(flash10_1) extern class Configuration {
|
||||
@:flash.property static var deviceConfiguration(get,set) : String;
|
||||
@:flash.property static var testAutomationConfiguration(get,never) : String;
|
||||
private static function get_deviceConfiguration() : String;
|
||||
private static function get_testAutomationConfiguration() : String;
|
||||
private static function set_deviceConfiguration(value : String) : String;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package flash.automation;
|
||||
|
||||
@:require(flash10_1) extern class KeyboardAutomationAction extends AutomationAction {
|
||||
@:flash.property var keyCode(get,set) : UInt;
|
||||
function new(type : String, keyCode : UInt = 0) : Void;
|
||||
private function get_keyCode() : UInt;
|
||||
private function set_keyCode(value : UInt) : UInt;
|
||||
static final KEY_DOWN : String;
|
||||
static final KEY_UP : String;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package flash.automation;
|
||||
|
||||
@:require(flash10_1) extern class MouseAutomationAction extends AutomationAction {
|
||||
@:flash.property var delta(get,set) : Int;
|
||||
@:flash.property var stageX(get,set) : Float;
|
||||
@:flash.property var stageY(get,set) : Float;
|
||||
function new(type : String, stageX : Float = 0, stageY : Float = 0, delta : Int = 0) : Void;
|
||||
private function get_delta() : Int;
|
||||
private function get_stageX() : Float;
|
||||
private function get_stageY() : Float;
|
||||
private function set_delta(value : Int) : Int;
|
||||
private function set_stageX(value : Float) : Float;
|
||||
private function set_stageY(value : Float) : Float;
|
||||
static final MIDDLE_MOUSE_DOWN : String;
|
||||
static final MIDDLE_MOUSE_UP : String;
|
||||
static final MOUSE_DOWN : String;
|
||||
static final MOUSE_MOVE : String;
|
||||
static final MOUSE_UP : String;
|
||||
static final MOUSE_WHEEL : String;
|
||||
static final RIGHT_MOUSE_DOWN : String;
|
||||
static final RIGHT_MOUSE_UP : String;
|
||||
}
|
26
Kha/Tools/linux_arm64/std/flash/automation/StageCapture.hx
Normal file
26
Kha/Tools/linux_arm64/std/flash/automation/StageCapture.hx
Normal file
@ -0,0 +1,26 @@
|
||||
package flash.automation;
|
||||
|
||||
@:require(flash10_1) extern class StageCapture extends flash.events.EventDispatcher {
|
||||
@:flash.property var capturePTS(get,set) : Float;
|
||||
@:flash.property var captureSource(get,set) : String;
|
||||
@:flash.property var clipRect(get,set) : flash.geom.Rectangle;
|
||||
@:flash.property var fileNameBase(get,set) : String;
|
||||
function new() : Void;
|
||||
function cancel() : Void;
|
||||
function capture(type : String) : Void;
|
||||
function captureBitmapData() : flash.display.BitmapData;
|
||||
private function get_capturePTS() : Float;
|
||||
private function get_captureSource() : String;
|
||||
private function get_clipRect() : flash.geom.Rectangle;
|
||||
private function get_fileNameBase() : String;
|
||||
private function set_capturePTS(value : Float) : Float;
|
||||
private function set_captureSource(value : String) : String;
|
||||
private function set_clipRect(value : flash.geom.Rectangle) : flash.geom.Rectangle;
|
||||
private function set_fileNameBase(value : String) : String;
|
||||
static final CURRENT : String;
|
||||
static final MULTIPLE : String;
|
||||
static final NEXT : String;
|
||||
static final RASTER : String;
|
||||
static final SCREEN : String;
|
||||
static final STAGE : String;
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package flash.automation;
|
||||
|
||||
@:require(flash10_1) extern class StageCaptureEvent extends flash.events.Event {
|
||||
@:flash.property var checksum(get,never) : UInt;
|
||||
@:flash.property var pts(get,never) : Float;
|
||||
@:flash.property var url(get,never) : String;
|
||||
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?url : String, checksum : UInt = 0, pts : Float = 0) : Void;
|
||||
private function get_checksum() : UInt;
|
||||
private function get_pts() : Float;
|
||||
private function get_url() : String;
|
||||
static final CAPTURE : String;
|
||||
}
|
Reference in New Issue
Block a user