|
@@ -16,7 +16,9 @@ class System {
|
|
public static var isTouch(get,never) : Bool;
|
|
public static var isTouch(get,never) : Bool;
|
|
public static var isWindowed(get,never) : Bool;
|
|
public static var isWindowed(get,never) : Bool;
|
|
|
|
|
|
- public static var isAndroid(get,never) : Bool;
|
|
|
|
|
|
+ public static var isAndroid(get, never) : Bool;
|
|
|
|
+
|
|
|
|
+ public static var screenDPI(get,never) : Float;
|
|
|
|
|
|
static function get_isWindowed() {
|
|
static function get_isWindowed() {
|
|
var p = flash.system.Capabilities.playerType;
|
|
var p = flash.system.Capabilities.playerType;
|
|
@@ -41,6 +43,10 @@ class System {
|
|
return flash.system.Capabilities.manufacturer.indexOf('Android') != -1;
|
|
return flash.system.Capabilities.manufacturer.indexOf('Android') != -1;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ static function get_screenDPI() {
|
|
|
|
+ return flash.system.Capabilities.screenDPI;
|
|
|
|
+ }
|
|
|
|
+
|
|
static var loop = null;
|
|
static var loop = null;
|
|
|
|
|
|
public static function setLoop( f : Void -> Void ) {
|
|
public static function setLoop( f : Void -> Void ) {
|