From 22fa6ced557f9fefd16918ec40e3029b7ac6812d Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Mon, 14 Jul 2014 09:06:11 -0700 Subject: [PATCH] Completion fixes --- lime/Assets.hx | 3 --- lime/app/Application.hx | 4 ++-- templates/haxe/DefaultAssetLibrary.hx | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lime/Assets.hx b/lime/Assets.hx index 12eb9e9c5..6b5584d10 100644 --- a/lime/Assets.hx +++ b/lime/Assets.hx @@ -28,9 +28,6 @@ import lime.utils.ByteArray; class Assets { - public static var POWER_OF_TWO = 0x00001; - public static var PREMULTIPLIED = 0x00002; - public static var cache = new AssetCache (); public static var libraries (default, null) = new Map (); diff --git a/lime/app/Application.hx b/lime/app/Application.hx index 53f9d5c5e..64b14db3d 100644 --- a/lime/app/Application.hx +++ b/lime/app/Application.hx @@ -26,7 +26,7 @@ class Application extends Module { public var window (get, null):Window; public var windows (default, null):Array; - private var __handle:Dynamic; + @:noCompletion private var __handle:Dynamic; public function new () { @@ -218,7 +218,7 @@ class Application extends Module { } - private inline function get_window ():Window { + @:noCompletion private inline function get_window ():Window { return windows[0]; diff --git a/templates/haxe/DefaultAssetLibrary.hx b/templates/haxe/DefaultAssetLibrary.hx index 266863fef..f7bc9106b 100644 --- a/templates/haxe/DefaultAssetLibrary.hx +++ b/templates/haxe/DefaultAssetLibrary.hx @@ -603,6 +603,7 @@ class DefaultAssetLibrary extends AssetLibrary { } +#if !display #if flash ::foreach assets::::if (embed)::::if (type == "image")::@:keep class __ASSET__::flatName:: extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } }::else::@:keep class __ASSET__::flatName:: extends ::flashClass:: { }::end::::end:: @@ -625,4 +626,5 @@ class DefaultAssetLibrary extends AssetLibrary { ::end:: #end +#end